Added acme-tool systemd service and timer units
This commit is contained in:
parent
194a9a4385
commit
ff1c4f799e
2 changed files with 21 additions and 0 deletions
11
acme-tool.service
Normal file
11
acme-tool.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=ACME-Tool Updator
|
||||||
|
#OnFailure=status-email-user@%n.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
User=root
|
||||||
|
PrivateTmp=true
|
||||||
|
NoNewPrivileges=true
|
||||||
|
ExecStart=/etc/acme/acme-tool
|
||||||
|
|
10
acme-tool.timer
Normal file
10
acme-tool.timer
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=ACME-Tool Schedule
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=daily
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
|
Loading…
Reference in a new issue