anvil/units/anvil-monitor-daemons.service
digimer e0c4ed6de5 Added log-only option to anvil-manage-daemons and enabled
anvil-monitor-daemons.service to only monitor daemons.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 13:55:03 -05:00

14 lines
277 B
Desktop File

[Unit]
Description=Anvil! Intelligent Availability Platform - Daemon Monitor
Wants=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/anvil-manage-daemons --log-only
ExecStop=/bin/kill -WINCH ${MAINPID}
Restart=always
RestartSec=60
[Install]
WantedBy=multi-user.target