add example systemd files
This commit is contained in:
parent
87ed09e21d
commit
0d4156a050
2 changed files with 23 additions and 0 deletions
13
examples/certwarden-deploy.service
Normal file
13
examples/certwarden-deploy.service
Normal file
|
@ -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
|
10
examples/certwarden-deploy.timer
Normal file
10
examples/certwarden-deploy.timer
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Timer for certwarden-deploy
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
Persistent=true
|
||||||
|
OnCalendar=Sat *-*-* 04:00:00
|
||||||
|
RandomizedDelaySec=2h
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in a new issue