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>
#!/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
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 ${?}
}