Article 4T8NR systemctl reboot

systemctl reboot

by
dofre114
from LinuxQuestions.org on (#4T8NR)
Hello,

on a linux redhat 7 * I created a service for a specific application. When I start or stop my service via the command systemctl start monservice and systemctl stop monservice I have no problem, but I thought that the command systemctl reboot before the shutdown of the machine would stop my service properly, except this is not the case.

How should I tell the system to properly shut down my service during the reboot phase? must we redefine the target reboot?

thank you in advance for your helplatest?d=yIl2AUoC8zA latest?i=3EnW23ImBKU:M8xt_4DIUGs:F7zBnMy latest?i=3EnW23ImBKU:M8xt_4DIUGs:V_sGLiP latest?d=qj6IDK7rITs latest?i=3EnW23ImBKU:M8xt_4DIUGs:gIN9vFw3EnW23ImBKU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments