fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:init-systems

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
linux/init-systems.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1