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/09/01 15:57] – [Commands] gsys | linux:init-systems [2025/04/09 13:06] (current) – [Commands] gsys | ||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | who -r ctl start # | + | who -r ctl start # |
- | sudo runlevel | + | sudo runlevel |
</ | </ | ||
Line 17: | Line 17: | ||
< | < | ||
- | 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 get-default | + | 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 31: | Line 38: | ||
chkconfig --add grpwise | chkconfig --add grpwise | ||
chkconfig --del grpwise | chkconfig --del grpwise | ||
- | chkconfig --level 235 grpwise on # enable service grpwise on runlevels 2,3,5 | + | chkconfig --level 235 grpwise on |
- | chkconfig --level 235 grpwise off | + | chkconfig --level 235 grpwise off # disable service grpwise on runlevels 2,3,5 |
</ | </ |
linux/init-systems.1693576651.txt.gz · Last modified: 2024/02/17 19:03 (external edit)