Hacker News new | past | comments | ask | show | jobs | submit login
A nice and easy solution if you need /etc/rc.local on a systemd machine (github.com/catinello)
2 points by svenduck on July 4, 2017 | hide | past | favorite | 1 comment



It's pointless.

An rc-local generator is already present in systemd.

* https://github.com/systemd/systemd/tree/v233/src/rc-local-ge...

rc.local is a double backwards compatibility mechanism, superseded twice over on operating systems such as Ubuntu and Fedora, that is best forgotten about on systemd operating systems.

* https://unix.stackexchange.com/a/247543/5132

* https://unix.stackexchange.com/a/333003/5132

If one is going to all of the unnecessary effort of downloading an rc-local service unit from GitHub and installing it, one might as well just make a proper service unit tailored to whatever one wants, straight off the bat. Or download such a service unit from GitHub and install that instead.

* http://jdebp.eu./FGA/systemd-house-of-horror/daemonize.html#...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: