Hi,
Am I wrong to believe that with one can interchangeably refer to .mount
units via their paths? It seems to work inconsistently. (this all with
version 215).
In a service, if I specify
BindsTo=backup.mount
Where backup.mount is a systemd unit, the service is correctly stopped
when the path is unmounted. If I use
BindsTo=/backup
It does not. (Not with 'systemctl stop /backup').
Similarly, if I use the backup.mount form for Before=, things work as
they should, but Before=/backup results in
Failed to add dependency on /backup, ignoring: Invalid argument
Many thanks,
--
Jonathan Dowland
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel