diff options
author | Henning Schild <henning@hennsch.de> | 2018-07-12 22:18:35 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-07-15 20:20:17 +0200 |
commit | 6022b0f4d356200dede844a86ce07439a15d46b0 (patch) | |
tree | 722d2dd66d1da339c2a1b0fbd5ed330717ea6d35 /dev-ruby | |
parent | dev-db/postgresql: Bump to 11_beta2 (diff) | |
download | gentoo-6022b0f4d356200dede844a86ce07439a15d46b0.tar.gz gentoo-6022b0f4d356200dede844a86ce07439a15d46b0.tar.bz2 gentoo-6022b0f4d356200dede844a86ce07439a15d46b0.zip |
dev-ruby/rubygems: change init script from --chuid to --user
Change start-stop-daemon argument away from a deprecated one, that
commit gets rid of a warning when starting.
Signed-off-by: Henning Schild <henning@hennsch.de>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rubygems/files/init.d-gem_server2 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-ruby/rubygems/files/init.d-gem_server2 b/dev-ruby/rubygems/files/init.d-gem_server2 index c7a6b6f1dc0b..213d88b0bd6e 100644 --- a/dev-ruby/rubygems/files/init.d-gem_server2 +++ b/dev-ruby/rubygems/files/init.d-gem_server2 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 PID=/var/run/gem_server.pid @@ -10,8 +10,9 @@ depend() { start() { ebegin "Starting gem_server" - start-stop-daemon --start --chuid nobody --quiet --background --make-pidfile \ - --pidfile ${PID} --exec /usr/bin/ruby -- /usr/bin/gem server ${GEM_SERVER_OPTS} + start-stop-daemon --start --user nobody --quiet --background \ + --make-pidfile --pidfile ${PID} --exec /usr/bin/ruby -- \ + /usr/bin/gem server ${GEM_SERVER_OPTS} eend ${?} } |