Added acme-tool systemd service and timer units
This commit is contained in:
parent
194a9a4385
commit
ff1c4f799e
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=ACME-Tool Schedule
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=daily
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
|
Loading…
Reference in New Issue