[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] systemd talk from July has slide deck online now
On 2015-09-08 14:33, Michael B. Trausch wrote:
> On Tue, 2015-09-08 at 13:27 -0700, Alex Carver wrote:
>> I hope this isn't true because I do depend on rc.local for quite a
>> scripts that need the rest of the system up and running.
> Just wrap your script in a systemd unit file, and have it depend on
> whatever it needs to operate, placing your script in /usr/local/sbin
> and your unit file in the /etc/systemd tree (which overrides the
> equivalent in /usr).
Why is it just not systemd's default concept to run rc.local as the very
end step? Seems like it would be easy for it to do. Having to wrap
everything in additional constructs (because there's more than one
script so that means I have to make more than one of these unit files,
correct?) and get all their dependencies sorted seems much more
complicated than "put everything in this one file that we guarantee to
run once everything else has been run".