Difference between revisions of "Linux startup scripts"
Jump to navigation
Jump to search
(→Centos) |
(→Centos) |
||
Line 1: | Line 1: | ||
=Centos= | =Centos= | ||
− | See what's defined in the startup levels: | + | See what's defined in the startup levels (SysV): |
<source lang="sh"> | <source lang="sh"> | ||
chkconfig | chkconfig |
Latest revision as of 15:08, 21 April 2016
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>]