|
|
@ -1,6 +1,7 @@ |
|
|
|
[Unit] |
|
|
|
Description=ACME client daemon |
|
|
|
After=network.target |
|
|
|
ConditionPathExists=/etc/acmed/acmed.toml |
|
|
|
Documentation=man:acmed.toml(5) man:acmed(8) https://github.com/breard-r/acmed/wiki |
|
|
|
|
|
|
|
[Service] |
|
|
@ -12,8 +13,7 @@ WorkingDirectory=/var/lib/acmed |
|
|
|
RuntimeDirectory=acmed |
|
|
|
|
|
|
|
# daemon handling: start, stop, timeouts |
|
|
|
#ExecStart=/usr/bin/acmed --foreground --pid-file /run/acmed/acmed.pid --log-level trace --log-stderr |
|
|
|
ExecStart=/usr/bin/acmed --foreground --pid-file /run/acmed/acmed.pid --log-level info |
|
|
|
ExecStart=/usr/bin/acmed --foreground --config /etc/acmed/acmed.toml --pid-file /run/acmed/acmed.pid --log-syslog --log-level info |
|
|
|
TimeoutStartSec=3 |
|
|
|
TimeoutStopSec=5 |
|
|
|
Restart=on-failure |
|
|
|