Linux - Boot (Init service system)

> Operating System - Kernel (Windows, Unix, Linux) > Linux / Unix > Linux - Boot (Init service system)

1 - About

Init system that start process at system startup (ie services)

It run as first process on boot (as PID 1)

Advertising

3 - List

The following are possible init system:

4 - Management

4.1 - How to know wich init system is running

  • bash
ps -f --pid 1
UID         PID   PPID  C STIME TTY          TIME CMD
root          1      0  0 11:38 ?        00:00:07 /usr/lib/systemd/systemd --switched-root --system --deserialize 21

where: systemd is SystemD - Services

  • Ansible shows you this information in the ansible_service_mgr variable
when: ansible_service_mgr == "systemd"

Possible values are:

Advertising
os/linux/init/start.txt · Last modified: 2019/11/05 14:08 by gerardnico