Re: [systemd-devel] Shutdown a specific service in systemd shutdown

2016-05-19 Thread Bao Nguyen
Hi Martin, Thanks a lot for your answer. How about if my specific script is written by SysVinit, it has LSB headers, can we still use in LSB header the property lAfter= as in systemd to make it start/stop orderly? Another solution I think to make it shutdowns "order" when I read systemd-halt.ser

Re: [systemd-devel] Shutdown a specific service in systemd shutdown

2016-05-19 Thread Martin Pitt
Hello Bao, Bao Nguyen [2016-05-19 15:52 +0700]: > When the system is shutdown, systemd will terminate all services in > parallel manner, could you let me know if there is any ways to tell systemd > to shutdown a specific service first, then shutdown all remaining services? The concept of "first"/

[systemd-devel] Shutdown a specific service in systemd shutdown

2016-05-19 Thread Bao Nguyen
Hi everyone, When the system is shutdown, systemd will terminate all services in parallel manner, could you let me know if there is any ways to tell systemd to shutdown a specific service first, then shutdown all remaining services? Thanks, Best regards, Natsu