查看哪些是自启动服务
systemctl list-units
开机自启动 revicename.service 为 服务名称
systemctl enable revicename.service
关闭开机自启动
systemctl disable revicename.service
重新加载配置文件
systemctl reload sevicename.service
查看服务状态
systemctl status revicename.service
08-01
570
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-14
2126
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-02
164
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-26
1124
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-22
4791
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)