CentOS7查看systemctl 控制的服务的相关配置

Posted wshenjin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS7查看systemctl 控制的服务的相关配置相关的知识,希望对你有一定的参考价值。

例如,启动配置文件

[[email protected]_Machine_192.168.31.130 ~]# systemctl show --property=FragmentPath docker 
FragmentPath=/usr/lib/systemd/system/docker.service
[[email protected]_Machine_192.168.31.130 ~]# systemctl  show docker  | grep  FragmentPath  
FragmentPath=/usr/lib/systemd/system/docker.service

以上是关于CentOS7查看systemctl 控制的服务的相关配置的主要内容,如果未能解决你的问题,请参考以下文章