Linux下关闭开机自启动程序(含查看、启动等命令)

您所在的位置:网站首页 关闭开机自动启动项怎么设置 Linux下关闭开机自启动程序(含查看、启动等命令)

Linux下关闭开机自启动程序(含查看、启动等命令)

2023-08-27 23:39| 来源: 网络整理| 查看: 265

现在大多数的Linux衍生版已经使用systemd启动。

关于Systemd使用方法,简介如下:

Systemd

启动服务

systemctl start servicename.service

关闭服务

systemctl stop servicename.service

重启服务

systemctl restart sevicename.service

重新加载配置文件

systemctl reload sevicename.service

查看服务状态

systemctl status revicename.service

开机自启动

systemctl enable revicename.service

关闭开机自启动

systemctl disable revicename.service

相关参考:

1. https://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html

2. https://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-part-two.html

3. https://www.ruanyifeng.com/blog/2016/02/linux-daemon.html

4. https://www.cnblogs.com/nsleaf/p/13211030.html



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3