centos7服务管理组件systemctl的服务存贮目录和常用列表命令
2016-03-16 16:51
579 查看
有时候配置服务需要用到,特此留存:
systemctl服务主体存贮目录:
/usr/lib/systemd/system/
systemctl服务开机启动链接存贮目录:
/etc/systemd/system/basic.target.wants/
列出所有开机自启的服务
systemctl list-unit-files|grep enabled
列出防火墙服务的自启状态
systemctl list-unit-files|grep firewalld
列出所有服务的层级和依赖关系,可以指定某个服务
systemctl list-dependencies [服务名称]
systemctl服务主体存贮目录:
/usr/lib/systemd/system/
systemctl服务开机启动链接存贮目录:
/etc/systemd/system/basic.target.wants/
列出所有开机自启的服务
systemctl list-unit-files|grep enabled
列出防火墙服务的自启状态
systemctl list-unit-files|grep firewalld
列出所有服务的层级和依赖关系,可以指定某个服务
systemctl list-dependencies [服务名称]
相关文章推荐
- linux kill 命令 以及 USR1 信号 解释
- linux内核中操作文件的方法--使用get_fs()和set_fs(KERNEL_DS)
- 编译安装lamp lnmp环境
- Git的使用(基于Linux)
- CentOS 6.5 使用rmp包 安装 MySQL 5.6.29
- Linux服务器安全配置
- Hello Linux !
- Centos Odoo Service Config
- Linux下的多线程编程
- linux下设置smtp发送163邮件
- Linux基础04 文件与目录管理2
- ubuntu/var/log/下各个日志文件
- 树莓派3 CentOS7 下载 Raspberry Pi Model 3 B
- 网易公开课《Linux内核分析》学习心得-使用库函数API和C代码中嵌入汇编代码两种方式使用同一个系统调用
- Linux sed指令
- Linux同步工具:rsync
- linux终端下查看当前操作系统版本信息
- Arch Linux安装中文输入法
- linux(centos)搭建SVN服务器
- Linux内存管理误区问答总结