linux:init-systems
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:init-systems [2023/08/20 14:36] – [Commands] gsys | linux:init-systems [2025/04/09 13:06] (current) – [Commands] gsys | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Init Systems ====== | ====== Init Systems ====== | ||
| + | |||
| + | < | ||
| + | who -r ctl start # get current runlevel | ||
| + | sudo runlevel | ||
| + | </ | ||
| ===== systemd ===== | ===== systemd ===== | ||
| + | |||
| + | ==== config files ==== | ||
| + | |||
| + | < | ||
| + | ls -al / | ||
| + | </ | ||
| ==== Commands ==== | ==== Commands ==== | ||
| < | < | ||
| - | systemctl start grpwise.service | + | systemctl start grpwise.service | 
| - | systemctl stop grpwise.service | + | systemctl stop grpwise.service | 
| - | systemctl status grpwise.service | + | systemctl status grpwise.service | 
| - | systemctl disable grpwise.service | + | systemctl enable grpwise.service | 
| + | systemctl disable grpwise.service | ||
| + | systemctl get-default | ||
| + | systemctl set-default multi-user.target | ||
| + | systemctl set-default graphical.target | ||
| + | systemctl isolate graphical.target | ||
| + | systemctl isolate multi-user.target | ||
| + | systemctl reboot | ||
| + | systemctl poweroff | ||
| </ | </ | ||
| Line 17: | Line 36: | ||
| < | < | ||
| chkconfig --list grpwise | chkconfig --list grpwise | ||
| + | chkconfig --add grpwise | ||
| + | chkconfig --del grpwise | ||
| + | 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.1692534990.txt.gz · Last modified:  (external edit)
                
                