linux:init-systems
Table of Contents
Init Systems
who -r ctl start # get current runlevel sudo runlevel # get current runlevel
systemd
config files
ls -al /lib/systemd/system/runlevel*
Commands
systemctl start grpwise.service # start service grpwise systemctl stop grpwise.service # stop service grpwise systemctl status grpwise.service # show status of service grpwise systemctl disable grpwise.service # remove service grpwise systemctl get-default # get default runlevel
sysvinit
Commands
chkconfig --list grpwise # list runlevel of service grpwise chkconfig --add grpwise # add service grpwise to all runlevels chkconfig --del grpwise # remove service grpwise from all runlevels chkconfig --level 235 grpwise on # enable service grpwise on runlevels 2,3,5 chkconfig --level 235 grpwise off # disable service grpwise on runlevels 2,3,5
linux/init-systems.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1