feat: refine signal handling and add config check to systemd reload

This commit is contained in:
2026-01-27 13:52:38 +08:00
parent a71e950734
commit 897237755f
4 changed files with 9 additions and 10 deletions

View File

@@ -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