aboutsummaryrefslogtreecommitdiff
path: root/network/elemental-ircd/rc.elemental-ircd
diff options
context:
space:
mode:
Diffstat (limited to 'network/elemental-ircd/rc.elemental-ircd')
-rw-r--r--network/elemental-ircd/rc.elemental-ircd4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/elemental-ircd/rc.elemental-ircd b/network/elemental-ircd/rc.elemental-ircd
index 9af9f68ef975d..56726817936bb 100644
--- a/network/elemental-ircd/rc.elemental-ircd
+++ b/network/elemental-ircd/rc.elemental-ircd
@@ -2,13 +2,13 @@
#
# elemental-ircd startup script for Slackware
-USER="@USER@"
+IRCD_USER="@IRCD_UNAME@"
PIDFILE="/var/run/elemental-ircd/ircd.pid"
PID=`cat $PIDFILE 2>/dev/null`
ircd_start() {
echo "Starting elemental-ircd."
- su - $USER -c "/usr/bin/ircd -pidfile $PIDFILE"
+ su - $IRCD_USER -c "/usr/bin/ircd -pidfile $PIDFILE"
}
ircd_stop() {