From 6022b0f4d356200dede844a86ce07439a15d46b0 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Thu, 12 Jul 2018 22:18:35 +0200 Subject: [PATCH] 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 --- dev-ruby/rubygems/files/init.d-gem_server2 | 7 ++++--- 1 file 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 ${?} } -- 2.26.2