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/files | |
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/files')
-rw-r--r-- | dev-db/redis/files/redis.initd | 6 |
1 files changed, 3 insertions, 3 deletions
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} |