Per Jessen wrote:
Andrey Borzenkov wrote:
On Thu, Mar 20, 2014 at 12:21 PM, Per Jessen <per@computer.org> wrote:
So I figured "don't start apache2" unless "remote-fs" has been completed.
Better approach for this is
RequiresMountsFor=/srv
(or whatever paths your apache needs). This automatically adds correct dependencies for the paths given. Again, not sure whether this was available already in 12.3.
Looks like it is - the manpage mentions it, and I got no complaints when I added it. I'll restart the box and see what happens.
This seems to have done the trick. I say 'seems' as I have had one dependency failure during a startup, but this may have been related to another change. Thanks for pointing me to "RequiresMountsFor", much appreciated! -- Per Jessen, Zürich (12.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org