systemd service: wait 10s to stop, otherwise kill daemon

This commit is contained in:
Gustavo Iñiguez Goia 2022-10-27 17:53:42 +02:00
parent 1a1e87c474
commit a3538a728f
Failed to generate hash of commit
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules
ExecStart=/usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules
Restart=always
RestartSec=30
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target

View file

@ -11,6 +11,7 @@ ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules
ExecStart=/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules
Restart=always
RestartSec=30
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target