[systemd-devel] failing unmounts during reboot
Reindl Harald
h.reindl at thelounge.net
Thu Jul 25 13:07:51 UTC 2019
Am 25.07.19 um 13:29 schrieb Frank Steiner:
> 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?
excatly the same way i guess - remember that your sysvinit script is in
reality a generated service as you can see in "systemctl status
sysv-servicename"
/etc/systemd/system/servicename.service.d/ dropins
More information about the systemd-devel
mailing list