Systemctl command

来源:互联网 发布:上海it外包 编辑:程序博客网 时间:2024/05/20 09:45

#copy from my sina blog http://blog.sina.com.cn/s/articlelist_1741226685_0_1.html

#the simple command that join the service and chkconfig

systemctl  
optiaon service_name.service
option: status start stop restart enable disable is-abled
egs:
systemctl status mariadb;
systemctl start mariadb;
systemctl stop mariadb;
systemctl restart mariadb;
#mariadb will running while boot linux server
systemctl enable mariadb;
0 0
原创粉丝点击