systemd

作者: 张广旭 | 来源:发表于2019-11-13 20:28 被阅读0次

我要解决什么问题

  • 启动重启后

    • 如何让分区自动挂载
    • 如何让服务进程自动启动
  • 服务进程意外终止

    • 如何自动重启

什么工具能解决我的问题

我找到了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

系统管理

Unit

Unit的配置文件

日志管理

相关文章

网友评论

      本文标题:systemd

      本文链接:https://www.haomeiwen.com/subject/bmvkictx.html