diff options
author | Sven Wegener <swegener@gentoo.org> | 2012-02-04 21:17:55 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2012-02-04 21:17:55 +0000 |
commit | 2064a167ac70df98ed2b5b18b0bed8ab55678a42 (patch) | |
tree | d5663843b4094ecfdfbaf85333272ef63a32e747 /dev-db/redis | |
parent | Version bump. (diff) | |
download | gentoo-2-2064a167ac70df98ed2b5b18b0bed8ab55678a42.tar.gz gentoo-2-2064a167ac70df98ed2b5b18b0bed8ab55678a42.tar.bz2 gentoo-2-2064a167ac70df98ed2b5b18b0bed8ab55678a42.zip |
use --user instead of --chuid
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/redis')
-rw-r--r-- | dev-db/redis/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/redis/files/redis.initd | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-db/redis/ChangeLog b/dev-db/redis/ChangeLog index c00a26be12e1..a47aa46c635a 100644 --- a/dev-db/redis/ChangeLog +++ b/dev-db/redis/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/redis # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/ChangeLog,v 1.32 2012/01/14 17:24:31 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/ChangeLog,v 1.33 2012/02/04 21:17:55 swegener Exp $ + + 04 Feb 2012; Sven Wegener <swegener@gentoo.org> files/redis.initd: + use --user instead of --chuid 14 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> metadata.xml: tcmalloc is now global diff --git a/dev-db/redis/files/redis.initd b/dev-db/redis/files/redis.initd index 899c2d666b7e..337ca6e7fcb3 100644 --- a/dev-db/redis/files/redis.initd +++ b/dev-db/redis/files/redis.initd @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/files/redis.initd,v 1.3 2011/12/04 10:36:35 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/redis/files/redis.initd,v 1.4 2012/02/04 21:17:55 swegener Exp $ REDIS_EXEC=/usr/sbin/redis-server REDIS_PID=${REDIS_PID:-/var/run/redis/redis.pid} @@ -21,9 +21,9 @@ start() { chown ${REDIS_USER}:${REDIS_GROUP} ${PID_DIR} ebegin "Starting Redis server" - cd "${REDIS_DIR}" start-stop-daemon --start \ - --chuid ${REDIS_USER}:${REDIS_GROUP} \ + --chdir "${REDIS_DIR}" \ + --user ${REDIS_USER}:${REDIS_GROUP} \ --pidfile "${REDIS_PID}" \ --exec "${REDIS_EXEC}" \ -- ${REDIS_OPTS} |