Systemd
Enable start au boot1
# systemctl enable nom_service
Check si start au boot1
# systemctl is-enabled nom_service
show services1
# systemctl list-unit-files --type=service
reload apres modif1
# systemctl daemon-reload
Avoid mesage : systemd: plop.service: Start request repeated too quickly.1
# cat /lib/systemd/system/plop.service
...
[Service]
StartLimitInterval=10s
StartLimitBurst=5
...
Use1
# systemctl start [name.service]
# systemctl stop [name.service]
# systemctl restart [name.service]
# systemctl reload [name.service]
$ systemctl status [name.service]
# systemctl is-active [name.service]
$ systemctl list-units --type service --all
Les autres units de systemd (au dessus on parlait de .service) :
Target: group of units
Automount: filesystem auto-mountpoint
Device: kernel device names, which you can see in sysfs and udev
Mount: filesystem mountpoint
Path: file or directory
Scope: external processes not started by systemd
Slice: a management unit of processes
Snapshot: systemd saved state
Socket: IPC (inter-process communication) socket
Swap: swap file
Timer: systemd timer.