[SCM] crtmpserver/master: Change default user to root

Andriy Beregovenko jet at jet.kiev.ua
Tue Nov 15 08:56:29 UTC 2011


Hi pkg-multimedia-maintainers,

Can you review and upload new version?

On Mon, Nov 14, 2011 at 06:39:48PM +0200, Andriy Beregovenko wrote:
> Hi Reinhard,
> 
> On Mon, Nov 14, 2011 at 02:30:12PM +0100, Reinhard Tartler wrote:
> > 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."
> Fixed. Also exit fixed :)
>  
> > -- 
> > Gruesse/greetings,
> > Reinhard Tartler, KeyID 945348A4
> > 
> > _______________________________________________
> > pkg-multimedia-maintainers mailing list
> > pkg-multimedia-maintainers at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
> 
> -- 
> Best regards,
> Andriy
> 0xBDDBDAE3



> _______________________________________________
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


-- 
Best regards,
Andriy
0xBDDBDAE3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20111115/432fa5ad/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list