Added acme-tool systemd service and timer units

This commit is contained in:
Eric Renfro 2018-05-11 21:41:59 -04:00
parent 194a9a4385
commit ff1c4f799e
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
2 changed files with 21 additions and 0 deletions

11
acme-tool.service Normal file
View 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
View file

@ -0,0 +1,10 @@
[Unit]
Description=ACME-Tool Schedule
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target