From 0d4156a0501e56e1537291ffaece68fad77a1844 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Wed, 3 Jul 2024 14:33:34 +0200 Subject: [PATCH] add example systemd files --- examples/certwarden-deploy.service | 13 +++++++++++++ examples/certwarden-deploy.timer | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 examples/certwarden-deploy.service create mode 100644 examples/certwarden-deploy.timer 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