Skip to content

Commit

Permalink
forgot to save :P
Browse files Browse the repository at this point in the history
  • Loading branch information
ocket8888 committed Jul 30, 2018
1 parent 06b98b0 commit abf11ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connmonitor.service
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AssertPathIsDirectory=/var/log
Type=simple

# Before Starting, sets up a configuration file if none exists
ExecStartPre=/bin/bash -c 'if [[ ! -f /var/run/connmonitor.conf ]]; then /usr/bin/printf "1 1 1 10 41 40 1 500\nlocalhost\n" > /var/run/connmonitor.conf; fi'
ExecStartPre=/bin/bash -c 'if [[ ! -f /var/run/connmonitor.conf ]]; then /usr/bin/printf "localhost trace=500 scan=500\n" > /var/run/connmonitor.conf; fi'

# Logs the output
ExecStart=/bin/bash -c 'exec /usr/bin/connmonitor /var/run/connmonitor.conf 1>/var/log/connmonitor.log 2>/var/log/connmonitor.err'
Expand Down

0 comments on commit abf11ac

Please sign in to comment.