swegener 15/04/22 21:50:57 Modified: nzbget.initd Log: Use ${NZBGET_USER}:${NZBGET_GROUP} for setting permissions on /run/nzbget (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x64D4CF24)
Revision Changes Path 1.6 net-nntp/nzbget/files/nzbget.initd file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget.initd?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget.initd?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget.initd?r1=1.5&r2=1.6 Index: nzbget.initd =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-nntp/nzbget/files/nzbget.initd,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- nzbget.initd 8 Jan 2013 18:33:59 -0000 1.5 +++ nzbget.initd 22 Apr 2015 21:50:56 -0000 1.6 @@ -1,13 +1,13 @@ #!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/files/nzbget.initd,v 1.5 2013/01/08 18:33:59 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/nzbget/files/nzbget.initd,v 1.6 2015/04/22 21:50:56 swegener Exp $ extra_started_commands="pause unpause" start() { ebegin "Starting nzbget" - checkpath -d -m 0755 -o nzbget:nzbget /run/nzbget + checkpath -d -m 0755 -o "${NZBGET_USER}:${NZBGET_GROUP}" /run/nzbget start-stop-daemon --quiet --start --user "${NZBGET_USER}" \ --group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \ --configfile "${NZBGET_CONFIGFILE}" --daemon \