Skip to content

Commit

Permalink
create /var/run/control-port-filter-python directory
Browse files Browse the repository at this point in the history
  • Loading branch information
troubadoour committed May 7, 2015
1 parent baf8eaa commit f0eedc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/sbin/cpfpd
Expand Up @@ -125,6 +125,8 @@ class ControlPortFilter():
self.stdin_path = '/dev/null'
self.stdout_path = '/dev/null'
self.stderr_path = '/dev/null'
if not os.path.exists('/var/run/control-port-filter-python'):
os.mkdir('/var/run/control-port-filter-python')
self.pidfile_path = '/var/run/control-port-filter-python/pid'
self.pidfile_timeout = 5

Expand Down

0 comments on commit f0eedc8

Please sign in to comment.