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

例如,启动配置文件

[root@Docker_Machine_192.168.31.130 ~]# systemctl show --property=FragmentPath docker 
FragmentPath=/usr/lib/systemd/system/docker.service
[root@Docker_Machine_192.168.31.130 ~]# systemctl  show docker  | grep  FragmentPath  
FragmentPath=/usr/lib/systemd/system/docker.service
posted @ 2018-10-30 12:04  wshenJin  阅读(1534)  评论(0编辑  收藏  举报