File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
utils/packaging/daemon/deb/debian Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11# Application firewall OpenSnitch
22type = process
3- command = /usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules
3+ command = /usr/bin/opensnitchd
44restart = true
55smooth-recovery = yes
66restart-delay = 15
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ start() {
2222 # only if the verbose flag is not set (rc-service opensnitchd start -v)
2323 if [ -z " $VERBOSE " ]; then
2424 # redirect stdout and stderr to /dev/null
25- /usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules -log-file /var/log/opensnitchd.log > /dev/null 2>&1 &
25+ /usr/local/bin/opensnitchd > /dev/null 2>&1 &
2626 else
27- /usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules -log-file /var/log/opensnitchd.log
27+ /usr/local/bin/opensnitchd
2828 fi
2929 eend $?
3030}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ Documentation=https://github.com/evilsocket/opensnitch/wiki
44
55[Service]
66Type =simple
7- PermissionsStartOnly =true
8- ExecStartPre =/bin/mkdir -p /etc/opensnitchd/rules
9- ExecStart =/usr/local/bin/opensnitchd -rules-path /etc/opensnitchd/rules
7+ ExecStart =/usr/local/bin/opensnitchd
108Restart =always
119RestartSec =30
1210TimeoutStopSec =10
Original file line number Diff line number Diff line change 11[Unit]
22Description =Application firewall OpenSnitch
3- Documentation =https://github.com/gustavo-iniguez-goya /opensnitch/wiki
3+ Documentation =https://github.com/evilsocket /opensnitch/wiki
44Wants =network.target
55After =network.target
66
77[Service]
88Type =simple
9- PermissionsStartOnly =true
10- ExecStartPre =/bin/mkdir -p /etc/opensnitchd/rules
11- ExecStart =/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules
9+ ExecStart =/usr/bin/opensnitchd
1210Restart =always
1311RestartSec =30
1412TimeoutStopSec =10
You can’t perform that action at this time.
0 commit comments