Am 23.11.2016 um 13:42 schrieb Benoit SCHMID:
Is there an easy way to create a systemd service that would be stopped
very early
at the shutdown and would avoid the other services stop command to be
executed.

In other world, on my XXX server, the most important service is XXX.
Stopping XXX takes time (~1 min per XXX system).

than you need only to adjust "DefaultTimeoutStopSec" to ensure it does not get killed and order services proper

Therefore, in case of init 6, I would like to stopxxx
When stopxxx finishes or timeouts then systemd
could start stopping the other services.

Is there an easier way than trying After= and Before= options?

Thanks for the time you have taken to answer my questions

easier then define proper dependencies with Before/after?

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to