On Do, 25.07.19 13:29, Frank Steiner (fsteiner-mail1@xxxxxxxxxxxxxx) wrote: > Silvio Knizek wrote: > > > the proper approach would be to define the dependency of the generated > > .service to the mount point with a drop-in and RequiresMountsFor=. See > > man:systemd.unit for more information. > > How would that work for init.d scripts? > > > Also the systemd-sysv-generator can only do so much. > > 1) If the systemd-sysv-generator creates wrapper .service files on-the-fly, > is it possible to hook into those with dropins? The man page didn't > give much information. Yes. > 2) If init.d scripts are wrapped by .service files, shouldn't the > processes spawned by these scripts be killed when shutting down? No, for compat with sysv that's not what we do. "/etc/init.d/fooobar stop" didn't do any such clean-up and neither do we hence. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel