1
0

feat: Add daemon single-instance lock and graceful shutdown to systemd service.

This commit is contained in:
2026-02-28 14:47:17 +01:00
parent dcb2ab3968
commit ac0ac2397b
2 changed files with 15 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/toak daemon
ExecStop=/bin/kill -INT $MAINPID
Restart=always
RestartSec=3