mschiff 15/03/07 03:21:25 Modified: redis.initd-4 Log: Fix init script pid file handling (Fixes #541856) and minor RDEPEND slot error. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
Revision Changes Path 1.3 dev-db/redis/files/redis.initd-4 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/redis/files/redis.initd-4?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/redis/files/redis.initd-4?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/redis/files/redis.initd-4?r1=1.2&r2=1.3 Index: redis.initd-4 =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-db/redis/files/redis.initd-4,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- redis.initd-4 2 Dec 2014 15:33:37 -0000 1.2 +++ redis.initd-4 7 Mar 2015 03:21:25 -0000 1.3 @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/files/redis.initd-4,v 1.2 2014/12/02 15:33:37 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/files/redis.initd-4,v 1.3 2015/03/07 03:21:25 mschiff Exp $ REDIS_DIR=${REDIS_DIR:-/var/lib/redis} REDIS_CONF=${REDIS_CONF:-/etc/redis.conf} @@ -10,7 +10,7 @@ command=/usr/sbin/redis-server pidfile=${REDIS_PID:-/run/redis/redis.pid} -start_stop_daemon_args="--background --make-pidfile --pidfile ${pidfile} +start_stop_daemon_args="--background --pidfile ${pidfile} --chdir \"${REDIS_DIR}\" --user ${REDIS_USER} --group ${REDIS_GROUP}" command_args="${REDIS_OPTS}"
