Bonjour à tous,
voila j'ai quelques interrogation sur ce que j'ai compris de systemd.
systemd va pendant son exécution regarder les fichiers de configuration dans le repertoire /etc/systemd/system/ et dans /lib/systemd/system (alors pourquoi il y a deux endroits ?) puis va regarder ce qu'il doit faire. Si je prend l'exemple du fichier de configuration rc-locale.service :
[Unit]
Description=/etc/rc.local Compatibility
Documentation=man:systemd-rc-local-generator(8)
ConditionFileIsExecutable=/etc/rc.local
After=network.target
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes
GuessMainPID=no
on voit que systemd va lancer le script /etc/rc.local, dans mon (…)