diff --git a/examples/certwarden-deploy.service b/examples/certwarden-deploy.service new file mode 100644 index 0000000..94e4b9e --- /dev/null +++ b/examples/certwarden-deploy.service @@ -0,0 +1,13 @@ +[Unit] +Description=CertWarden Deployer binary +Documentation=https://code.lila.network/adoralaura/certwarden-deploy + +[Service] +# uncomment if you want to use a different user than root +# User=certwarden-deploy +# Group=certwarden-deploy +ExecStart=/usr/local/bin/certwarden-deploy + + +[Install] +WantedBy=multi-user.target diff --git a/examples/certwarden-deploy.timer b/examples/certwarden-deploy.timer new file mode 100644 index 0000000..37a1a58 --- /dev/null +++ b/examples/certwarden-deploy.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Timer for certwarden-deploy + +[Timer] +Persistent=true +OnCalendar=Sat *-*-* 04:00:00 +RandomizedDelaySec=2h + +[Install] +WantedBy=timers.target