From: Henning Schild Date: Thu, 12 Jul 2018 20:18:35 +0000 (+0200) Subject: dev-ruby/rubygems: change init script from --chuid to --user X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6022b0f4d356200dede844a86ce07439a15d46b0;p=gentoo.git 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 --- 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 ${?} }