[arch-projects] [netcfg][PATCH 2/2] systemd: wait for network to come up
j.witteveen at gmail.com
Tue Apr 17 17:57:07 EDT 2012
On Tue, Apr 17, 2012 at 23:48, Tom Gundersen <teg at jklm.no> wrote:
> On Tue, Apr 17, 2012 at 11:06 PM, Jouke Witteveen <j.witteveen at gmail.com> wrote:
>>> ExecStart=/usr/bin/netcfg-daemon start
>>> ExecStop=/usr/bin/netcfg-daemon stop
>> This service should not be started when the env file is missing, so
>> including it makes sense, doesn't it?
> If what you want is to avoid a service being started if a file does
> not exist, then ConditionPathExists= is the correct thing to use.
> However, I don't really see the point of that here. netcfg-daemon
> should check for the configfile and if it is missing or illegal then
> the daemon should exit with an error code, imo.
Agreed. It does so already.
More information about the arch-projects