diff --git a/usr/sbin/cpfpd b/usr/sbin/cpfpd index a88f991..43d26b2 100755 --- a/usr/sbin/cpfpd +++ b/usr/sbin/cpfpd @@ -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