systemctl 

daemon-reload: 重新加载某个服务的配置文件,如果新安装了一个服务,归属于 systemctl
管理,要是新服务的服务程序配置文件生效,需重新加载。

 

init 和 systemd 的命令区别,大概简介:

 

 

systemctl --help  查看帮助!!!!!!!

 

systemctl  enable  |  disable |  is-enabled  | status  | is-active  unit

systemctl   get-default    |  set-default   graphical.target 
| multi-user.target           islate 在线切换模式  

systemctl reload-daemon  加载新的unit 配置文件  

systemd  的 unit 的配置文件位置  :  redhat 系列: 目录  /usr/lib/systemd/system/ 下 

enable 是在  /etc/systemd/system/multi-user.target.wants/  这个目录下 做 unit 配置文件的软链:

 

技术
下载桌面版
GitHub
百度网盘(提取码:draw)
Gitee
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:766591547
关注微信