Re: [systemd-devel] Starting a service on shutdown

2013-01-22 Thread Lennart Poettering
On Mon, 21.01.13 13:38, Umut Tezduyar (u...@tezduyar.com) wrote: > I would like to start a service on shutdown/restart. This service accesses > (read/write) to the file systems and for that reason I don't want any of > the file systems unmounted by systemd before the service completes. Right now

Re: [systemd-devel] Starting a service on shutdown

2013-01-22 Thread David Strauss
If unmounting happens, deterministically, before shutdown, why not make your service WantedBy=umount.target (maybe still with DefaultDependencies=no)? On Mon, Jan 21, 2013 at 4:38 AM, Umut Tezduyar wrote: > Hi > > How do I start a service on shutdown that will start and finish before any > of the