diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-02-23 01:52:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-02-24 13:17:45 +0000 |
commit | abd0450d3f5dd80530da68d961b6f5e938e0f767 (patch) | |
tree | d86aee43dffdcd5f2825e250de2c70154c46ed68 /debian/rspamd.init | |
parent | 1e5c02555c1e4528526881e53da1a1bc31ed3506 (diff) | |
download | rspamd-abd0450d3f5dd80530da68d961b6f5e938e0f767.tar.gz rspamd-abd0450d3f5dd80530da68d961b6f5e938e0f767.zip |
Use /run/rspamd to store pid file, /var/run is obsolete
Diffstat (limited to 'debian/rspamd.init')
-rwxr-xr-x | debian/rspamd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init index aad89dcfc..d550b0b56 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -55,7 +55,7 @@ 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_USERNAME:$RSPAMD_GROUPNAME -p /var/run/rspamd + mkdir -m 755 $RSPAMD_USERNAME:$RSPAMD_GROUPNAME -p /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 -- \ |