aboutsummaryrefslogtreecommitdiffstats
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
commit6f80f924c7513061113d7190ba9239cab840a994 (patch)
treeda8bfc89d3798498c468949129756d0742462c6b
parentc8cd1254df246704a5a4f66ed83b455b6a99754c (diff)
fix user management
-rwxr-xr-xautostart/reaktor-debian4
1 files changed, 2 insertions, 2 deletions
diff --git a/autostart/reaktor-debian b/autostart/reaktor-debian
index 6164478..323449f 100755
--- a/autostart/reaktor-debian
+++ b/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
}