aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/ircd-hybrid/rc.ircd.new2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/ircd-hybrid/rc.ircd.new b/network/ircd-hybrid/rc.ircd.new
index 056641aea963..448e269a399e 100644
--- a/network/ircd-hybrid/rc.ircd.new
+++ b/network/ircd-hybrid/rc.ircd.new
@@ -24,7 +24,7 @@ ircd_start() {
mkdir -p $(dirname $PIDFILE)
chown ircd:ircd $(dirname $PIDFILE)
chmod 0750 $(dirname $PIDFILE)
- sudo -u $NAME $DAEMON $DAEMON_ARGS
+ setpriv --reset-env --reuid $NAME $DAEMON $DAEMON_ARGS
}
ircd_stop() {