[SCM] crtmpserver/master: Change default user to root
jet-guest at users.alioth.debian.org
jet-guest at users.alioth.debian.org
Mon Nov 14 12:29:08 UTC 2011
The following commit has been merged in the master branch:
commit 81bbf62fd926aee49359d8cc6b98b879bb5f36bc
Author: Andriy Beregovenko <jet at jet.kiev.ua>
Date: Mon Nov 14 02:33:13 2011 +0200
Change default user to root
diff --git a/debian/crtmpserver.init b/debian/crtmpserver.init
index 935f067..23145ae 100644
--- a/debian/crtmpserver.init
+++ b/debian/crtmpserver.init
@@ -17,7 +17,7 @@ NAME=crtmpserver
DAEMON=/usr/sbin/crtmpserver
DAEMON_ARGS=" --daemon "
DAEMON_CONF="/etc/crtmpserver/crtmpserver.lua"
-DAEMON_USER=crtmpserver
+DAEMON_USER=root
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
ENABLED=no
@@ -30,7 +30,7 @@ ENABLED=no
. /lib/lsb/init-functions
DAEMON_UID=$(getent passwd ${DAEMON_USER} | cut -d":" -f3)
-[ -z "${DAEMON_UID}" ] && (echo "User ${DAEMON_USER} not exists"; return 1)
+[ -z "${DAEMON_UID}" ] && (echo "User ${DAEMON_USER} not exists"; exit 1)
UID_ARG=" --uid=${DAEMON_UID} "
--
crtmpserver packaging
More information about the pkg-multimedia-commits
mailing list