[systemd-devel] How to mount NFS prior to start postgresql from this volume

Reindl Harald h.reindl at thelounge.net
Fri Jul 1 15:21:12 UTC 2016



Am 01.07.2016 um 16:44 schrieb wolfgang.wagner at riwa-gis.de:
> Modifications in section [Unit] like :
>
> ConditionPathExists=/mnt/daten/postgis
> Requires=mnt-daten-postgis.mount
> Before=mnt-daten-postgis.mount

nonsense - you explicitly state that it should be startet *before* the 
mountpoint - when you want something to be started after some other 
thing, well then you say After=whatever-should-be-started-before

Requires and Before with the same value is not solveable at all

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160701/77c79cb3/attachment.sig>


More information about the systemd-devel mailing list