Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Beginners Questions • [Software] [Solved] How do I run a script at startup?

$
0
0
fwiw ...

I just remembered another command I should have used besides the man page comment to find out about rc.local ...
apropos rc.local
rc-local.service (8) - Compatibility generator and service to start /etc/rc.local during boot
systemd-rc-local-generator (8) - Compatibility generator and service to start /etc/rc.local during boot
man 8 rc-local.service

gave me...

===

Support for /etc/rc.local is provided for compatibility with specific System V systems only. However, it is strongly recommended to avoid making use of this script today, and instead provide proper unit files with appropriate dependencies for any scripts to run during the boot process. Note that the path to the script is set at compile time and varies between distributions.

===

So, apparently a temporary solution.

"unit file" - yeah, that indecipherable service.unit man page.

As opposed to the simplicity of rc.local.

So it is looking like I may need to fire up that test server sooner than later.

Statistics: Posted by diningroom — 2025-02-07 00:02 — Replies 14 — Views 463



Viewing all articles
Browse latest Browse all 3567

Trending Articles