[SCM] crtmpserver/master: Change default user to root
Reinhard Tartler
siretart at tauware.de
Mon Nov 14 13:30:12 UTC 2011
On Mo, Nov 14, 2011 at 13:29:08 (CET), jet-guest at users.alioth.debian.org wrote:
> 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)
echo "Error: User ${DAEMON_USER} does not exist."
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the pkg-multimedia-maintainers
mailing list