linux-日常运维- target介绍
2018-10-31 02:23
615 查看
target就是多个unit的组合
系统为了方便管理用target来管理unit
systemctl list-unit-files --type=target
systemctl list-dependencies multi-user.target //查看指定target下面有哪些unit
systemctl get-default //查看系统默认的target
systemctl set-default multi-user.target #设置默认的target ,同样的也会创建软链接
一个service属于一种类型的unit
多个unit组成了一个target
一个target里面包含了多个service
cat /usr/lib/systemd/system/sshd.service //看[install]部分 #可查看service属于哪个tatget
相关文章推荐
- linux-日常运维- unit介绍
- linux日常运维(crond,systemd,chkconfing,unit,target)
- Linux运维笔记-文档总结-DNS的介绍及各种DNS模式的部署(全)
- 日常运维(七):Linux下的数据备份工具rsync
- Linux平台日常运维管理
- 笔记8(日常运维w、vmstat、top、sar、nload、free、ps、netstat、tcptump、Linux防火墙)
- Linux- 日常运维-vmstat
- redhat (Linux) 日常运维中经常使用到的指令
- Linux 服务器日常运维
- 10.23 linux任务计划cron 10.24 chkconfig工具 10.25 systemd管理服务 10.26 unit介绍 10.27 target介绍
- linux学习第三十二篇:linux任务计划cron,chkconfig工具,systemd管理服务,unit介绍,target介绍
- Linux运维常用的几个命令介绍【转】
- [10] Linux系统日常运维
- linux基础,日常运维,8
- Linux- 日常运维-sar
- linux-日常运维-firewalld的9个zone
- Linux运维笔记-文档总结-FTP介绍,安装,以及匿名用户和本地用户的操作
- 运维日常操作--linux命令
- linux基础,日常运维
- linux任务计划 chkconfig工具 systemd管理服务 unit介绍 target介绍