diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-10 22:01:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-10 22:01:35 +0000 |
commit | 53dcfa59ddd802b60ccf76e940d49467b3796e70 (patch) | |
tree | 77065d75502d534065a333f175edf397a61c3ed7 /debian | |
parent | 30b37141a9618aa0200176e8048b7a2a361a6b68 (diff) | |
parent | 2f891985bdc11e568c777e35d8e7bac5c1ec6f7a (diff) | |
download | rspamd-53dcfa59ddd802b60ccf76e940d49467b3796e70.tar.gz rspamd-53dcfa59ddd802b60ccf76e940d49467b3796e70.zip |
Merge pull request #114 from sfirmery/master
Fix owner when creating folder /run/rspamd in Debian init script
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rspamd.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init index 0c84118da..b531304e4 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -40,7 +40,8 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - mkdir -m 755 _rspamd:_rspamd -p /run/rspamd + mkdir -m 755 -p /run/rspamd + chown _rspamd:_rspamd /run/rspamd start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ |