summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-04-17 23:47:19 +0200
committerEUcancER <root@euer.krebsco.de>2012-04-17 23:47:19 +0200
commite9ec9f26b1d88e0bb2e219d8b5240bc0560dda67 (patch)
treec9f0067b9ebfb907a04c5479d2f5968a48aa4e58
parentb40915b577fe64384a373592db0f58cc544e54d7 (diff)
fix user management
-rwxr-xr-xReaktor/autostart/reaktor-debian4
1 files changed, 2 insertions, 2 deletions
diff --git a/Reaktor/autostart/reaktor-debian b/Reaktor/autostart/reaktor-debian
index 61644788..323449f8 100755
--- a/Reaktor/autostart/reaktor-debian
+++ b/Reaktor/autostart/reaktor-debian
@@ -13,7 +13,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
NAME=reaktor
-REAKTOR_USER=reaktor
+USER=reaktor
DESC="$NAME daemon"
DAEMON=/usr/bin/python
DAEMON_DIR="/krebs/Reaktor/IRC/"
@@ -33,7 +33,7 @@ do_start()
# 2 if daemon could not be started
start-stop-daemon -b -d $DAEMON_DIR -c $USER --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
- start-stop-daemon -b -d $DAEMON_DIR -c $USER--start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- \
+ start-stop-daemon -b -d $DAEMON_DIR -c $USER --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
}