Here are some examples:
Stop service:
1
|
systemctl stop httpd
|
1
|
systemctl start httpd
|
1
|
systemctl restart httpd
|
1
|
systemctl reload httpd
|
1
|
systemctl status httpd
|
chkconfig service on:
1
|
systemctl enable httpd
|
1
|
systemctl disable httpd
|
1
|
systemctl is-enabled httpd
|
1
|
systemctl list-unit-files --type=service
|
No comments:
Post a Comment