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

Reindl Harald h.reindl at thelounge.net
Fri Jul 1 15:59:39 UTC 2016


please strip your quotes

Am 01.07.2016 um 17:44 schrieb killermoehre:
>> just drop a
>> ---
>> [Unit]
>> ReuqiresMountsFor=/mnt/daten/postgis/9.4/main
>> ---
>> into
>> »/etc/systemd/system/postgresql at 9.4-main.service.d/wait-for-mountpoint.conf«
>> (create directory and file if necessary) end everything should be fine.
>> In your fstab also add »_netfs« and remove »noauto« for your mount
>> point. See »man systemd.unit« for more informations on RequireMountsFor=.
>>
> Oh, and obviously write RequiresMountsFor= in the right way and not with
> reversed »q« and »u« or missing »s«.
well, after "systemctl daemon-reload" this should become obvious when 
someone takes a look at the systemlogs - sadly even distro-packagers 
don't look proper for errors like typos in their packages




-------------- 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/98f562ae/attachment.sig>


More information about the systemd-devel mailing list