mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
systemd service: wait 10s to stop, otherwise kill daemon
This commit is contained in:
parent
1a1e87c474
commit
a3538a728f
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue