# We want systemd to give httpd some time to finish gracefully, but still want
# it to kill httpd after TimeoutStopSec if something went wrong during the
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
# httpd time to finish.
KillSignal=SIGCONT
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Tu fais le même genre de conf et aux champs execstart execstop et execreload tu mets tes scripts.
Ca doit être faisable assez simplement je pense.
Check ça https://doc.ubuntu-fr.org/creer_un_service_avec_systemd
Cordialement Scrawkette
- Edité par Scrawkette 15 novembre 2018 à 11:15:23
Centos ❤
Run multiples services sur une machine
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
Architecte logiciel - Software craftsmanship convaincu.
Architecte logiciel - Software craftsmanship convaincu.
Architecte logiciel - Software craftsmanship convaincu.