Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Safe systemd "reload" command
Date: Sun, 05 Jun 2016 14:31:28
Message-Id: CAGfcS_nMVdkgOh=NozfQxAjzQry29atc+i+Ti5CMYcjre8UW2w@mail.gmail.com
In Reply to: Re: [gentoo-user] Safe systemd "reload" command by Michael Orlitzky
1 On Sun, Jun 5, 2016 at 9:37 AM, Michael Orlitzky <mjo@g.o> wrote:
2 >
3 > I did take your suggestion and check for rc-service though. I shouldn't
4 > count on openrc being in @system forever.
5 >
6
7 I suspect it would still work if openrc weren't installed:
8 bash -c "/etc/init.d/cups-browsed status || echo failed"
9 bash: /etc/init.d/cups-browsed: /sbin/runscript: bad interpreter: No
10 such file or directory
11 failed
12
13 You are correct in being careful about openrc being in @system. Once
14 we fix everything using /etc/init.d/functions.sh that will probably
15 change. (It will still be installed by default via a virtual, but
16 will get depcleaned if you switch to systemd and don't put it in
17 @world).
18
19 --
20 Rich