You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to stop myrobot service "sudo service myrobot stop", all nodes dies instantly rather than waiting to finish cleanly. But when I added this line "ExecStop=/usr/sbin/data-stop" to "/etc/systemd/system/multi-user.target.wants/data.service" the service stop works fine.
My linux is mint 18.
Could you please help me to understand why this is happening?
The text was updated successfully, but these errors were encountered:
julianraheema
changed the title
service myrobot stop is killing all as power off not waiting to finish the node.
"service myrobot stop" is killing all nodes not waiting to finish the node.
Jun 13, 2018
julianraheema
changed the title
"service myrobot stop" is killing all nodes not waiting to finish the node.
Service stop is killing all nodes not waiting to finish cleanly.
Jun 13, 2018
When I tried to stop myrobot service "sudo service myrobot stop", all nodes dies instantly rather than waiting to finish cleanly. But when I added this line "ExecStop=/usr/sbin/data-stop" to "/etc/systemd/system/multi-user.target.wants/data.service" the service stop works fine.
My linux is mint 18.
Could you please help me to understand why this is happening?
Update:
When ExecStop= is not exisit, the service sends the signKill by default which is kill instantly, and sigKill cant be captured by ros therefore nodes are dying not in proper way.
https://www.freedesktop.org/software/systemd/man/systemd.service.html
http://man7.org/linux/man-pages/man7/signal.7.html
Extra info are welcome.
The text was updated successfully, but these errors were encountered: