-
Notifications
You must be signed in to change notification settings - Fork 3
init
stachu edited this page Nov 14, 2017
·
2 revisions
Main, first started process (typically id = 1, daemon)
Started by kernel, if start is unsuccessful, kernel panic occurs.
Multiple init
implementations
Maintains userspace applications
Each application is described in unit
files. They use more declarative syntax instead of bash scripts.
Typically located in /etc/systemd/system
Contains information nearly about anything: a service, socket, device, mount point, etc.
File name is used for control (via systemctl
), though unit file can declare aliases (Alias=
) that can be used too.
Typically systemd
controls one service but it is possible to spawn and control multiple instances of service.
In order to enable multi instance management:
- create service file with
@.service
suffix - in unit file use
%i
placeholder for "some application instance"
- General
- OS
- Networks
- Configuration
- Protocols
- Link layer
- Sockets
- Routing
- Tunneling
- Debugging
- LoRa
- Virtualization
- Infrastructure as a code
- Desktop environments
- Monitoring
- Benchmarking