From e2b4703a5117148b84ccffc4f072397e902193b9 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Mon, 5 May 2014 10:42:19 +0200 Subject: [PATCH] Fix /run/rspamd creation in initscript --- debian/rspamd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rspamd.init b/debian/rspamd.init index 0c84118da..7900b15bc 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -40,7 +40,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:_rspamd -p /run/rspamd + install -m 755 -o _rspamd -g _rspamd -d /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 -- \ -- 2.39.5