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

2016-07-02 Thread Michael Biebl
2016-07-02 2:44 GMT+02:00 Lennart Poettering : > On Fri, 01.07.16 14:44, [email protected] > ([email protected]) wrote: > >> My postgresql.service is this: (unmodified file) >> [Unit] >> Description=PostgreSQL RDBMS >> >> [Service] >> Type=oneshot >> ExecStart=/bin/true >> Exe

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

2016-07-01 Thread Lennart Poettering
On Fri, 01.07.16 17:59, Simon McVittie ([email protected]) wrote: > This is fixed in testing (stretch); a backport of the version from > stretch, or introducing native systemd services locally, would probably > help. See for >

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

2016-07-01 Thread Lennart Poettering
On Fri, 01.07.16 14:44, [email protected] ([email protected]) wrote: > My postgresql.service is this: (unmodified file) > [Unit] > Description=PostgreSQL RDBMS > > [Service] > Type=oneshot > ExecStart=/bin/true > ExecReload=/bin/true > RemainAfterExit=on > > [Install] > Wan

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

2016-07-01 Thread Simon McVittie
On 01/07/16 15:44, [email protected] wrote: > Maybe it is caused by this (ssome lines before in journalctl-log): I don't know whether it's causal, but dependency loops are never good news. > Jul 01 16:09:57 postgis1 systemd[1]: Cannot add dependency job for unit > display-manager.servi

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

2016-07-01 Thread Reindl Harald
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/[email protected]/wait-for-mountpoint.conf« (create directory and file if necessary) end everything should be fine.

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

2016-07-01 Thread killermoehre
Am 01.07.2016 um 17:29 schrieb killermoehre: > Am 01.07.2016 um 16:44 schrieb [email protected]: >> Hello list, >> >> >> >> after days of reading man-pages and searching the web i have no solution >> to my problem, and I am lost in the documentation. >> >> My system is Debian Jessie 8.5

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

2016-07-01 Thread killermoehre
Am 01.07.2016 um 16:44 schrieb [email protected]: > Hello list, > > > > after days of reading man-pages and searching the web i have no solution > to my problem, and I am lost in the documentation. > > My system is Debian Jessie 8.5, upgraded from wheezy 7.11. With Debian > wheezy al

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

2016-07-01 Thread Reindl Harald
Am 01.07.2016 um 16:44 schrieb [email protected]: 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

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

2016-07-01 Thread wolfgang.wagner
Hello list, after days of reading man-pages and searching the web i have no solution to my problem, and I am lost in the documentation. My system is Debian Jessie 8.5, upgraded from wheezy 7.11. With Debian wheezy all works fine, after the upgrade to jessie my postgresql-service does not start