我要解决什么问题
-
启动重启后
- 如何让分区自动挂载
- 如何让服务进程自动启动
-
服务进程意外终止
- 如何自动重启
什么工具能解决我的问题
我找到了systemd
systemd介绍
systemd是什么
systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, maintains mount and automount points, and implements an elaborate transactional dependency-based service control logic.
简单地说,systemd就是用来做系统管理的。
systemd架构图
image
网友评论