feat: Add daemon single-instance lock and graceful shutdown to systemd service.
This commit is contained in:
@@ -5,6 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/toak daemon
|
||||
ExecStop=/bin/kill -INT $MAINPID
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user