Skip to content

Commit 8c99b0e

Browse files
authored
Update opensnitchd.service
Applied suggested changes by @lainedfles
1 parent 8545b39 commit 8c99b0e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

daemon/opensnitchd.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Type=exec
1818
ConfigurationDirectory=%N/rules
1919
ConfigurationDirectoryMode=0700
2020

21-
Environment='custom_cfg=%E/%N/rules'
22-
# Environment='opts=-debug'
21+
# Add extra options to the daemon below. fe.'opts=-debug' to add the '-debug' option.
22+
Environment='opts='
2323

2424
ExecCondition=%N -check-requirements
25-
ExecStart=%N -rules-path $custom_cfg $opts
25+
ExecStart=%N -rules-path $CONFIGURATION_DIRECTORY $opts
2626

2727
# Signal-info was taken from the init.d script, but it just exits and then systemd restarts the service...
2828
ExecReload=kill -HUP $MAINPID

0 commit comments

Comments
 (0)