Linux startup scripts

From Tom's notes
Jump to navigation Jump to search

Centos

See what's defined in the startup levels (SysV):

chkconfig

For systemd services:

systemctl list-unit-files

Add a service:

systemctl add nagios

Gentoo

See what's defined in the startup levels:

rc-update -s -v

Modify a service:

rc-update <add|del> <service> [<runlevel>]