Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Safe systemd "reload" command
Date: Tue, 07 Jun 2016 09:23:19
Message-Id: CAOdo=SwJinnizmCebkhqe7UtBPfkkTHjgbj=_5M7_xtmkhAyYA@mail.gmail.com
In Reply to: Re: [gentoo-user] Safe systemd "reload" command by "J."
1 On Sun, Jun 5, 2016 at 6:27 PM, J. <jyo.garcia@×××××.com> wrote:
2 > El dom, 05-06-2016 a las 12:09 -0400, Michael Orlitzky escribió:
3 >>
4 >> Does that happen with rc-service, too? Or only with the init script
5 >> (which uses openrc-run)? I recently updated the job on the wiki to
6 >> use rc-service after we've checked that it exists.
7 >>
8 >> If it still prints the error, I'll just redirect stderr to /dev/null
9 >> during the check.
10 >
11 > It does, seems rc-service is just a wrapper to run stuff in
12 > /etc/init.d/
13
14 "/sbin/service" in Debian/Fedora/RHEL/Ubuntu/FreeBSD/NetBSD basically
15 runs "env -i set_some_env_vars /path/to/daemon command" so there's no
16 reason for OpenRC to do something different.