mirror of
https://github.com/awfufu/traudit
synced 2026-03-01 13:39:44 +08:00
feat: refine signal handling and add config check to systemd reload
This commit is contained in:
@@ -7,6 +7,7 @@ Type=notify
|
||||
RuntimeDirectory=traudit
|
||||
WorkingDirectory=/run/traudit
|
||||
ExecStart=/usr/bin/traudit -f /etc/traudit/config.yaml
|
||||
ExecReload=/usr/bin/traudit -f /etc/traudit/config.yaml -t
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillSignal=SIGINT
|
||||
Restart=on-failure
|
||||
|
||||
Reference in New Issue
Block a user