Re: question about rc.local
Anssi Saari (12023-03-09):
> Perhaps a note, since today in Debian by default it's systemd which runs
> /etc/rc.local. There's no guarantee it's done last like there was in SysV
> init since systemd runs stuff in parallel. Network availability also
> isn't guaranteed. See man systemd-rc-local-generator.
Maybe check facts before posting:
# /lib/systemd/system/rc-local.service
…
After=network.target
# /usr/lib/systemd/system/rc-local.service.d/debian.conf
[Unit]
# not specified by LSB, but has been behaving that way in Debian under SysV
# init and upstart
After=network-online.target
Regards,
--
Nicolas George
Reply to: