On 2015-09-24 10:39:33, EXT Luca Bertoncello wrote: > > > Could you rephrase this question? > > Well, my script does something that require time and all other processes > on the server MUST run during this operation. > > But right now, after systemd execute my "stop script", it prosecute and > stop all other processes at the same time (or almost). > > > Then my question: how can I block the "shutdown process" until my script > is done?
Is your service that shall block the subsequent ones in shutdown of Type "oneshot". I'd expect that the same that is valid for startup is also valid for shutdown. Quoting systemd.service(5) manpage: Type= [...] Behavior of oneshot is similar to simple; however, it is expected that the process has to exit before systemd starts follow-up units. This implies "blocking behaviour", AFAIU. -Vivenzio _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel