Browse Source

Explicitly set the configuration file and logging mode

pull/57/head
Rodolphe Bréard 3 years ago
parent
commit
f4b80cb1e4
  1. 4
      contrib/systemd/acmed.service

4
contrib/systemd/acmed.service

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=ACME client daemon Description=ACME client daemon
After=network.target After=network.target
ConditionPathExists=/etc/acmed/acmed.toml
Documentation=man:acmed.toml(5) man:acmed(8) https://github.com/breard-r/acmed/wiki Documentation=man:acmed.toml(5) man:acmed(8) https://github.com/breard-r/acmed/wiki
[Service] [Service]
@ -12,8 +13,7 @@ WorkingDirectory=/var/lib/acmed
RuntimeDirectory=acmed RuntimeDirectory=acmed
# daemon handling: start, stop, timeouts # 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 TimeoutStartSec=3
TimeoutStopSec=5 TimeoutStopSec=5
Restart=on-failure Restart=on-failure

Loading…
Cancel
Save