experimental systemd + initscripts repo
Bill Nottingham
notting at redhat.com
Thu Oct 28 15:27:49 UTC 2010
Lennart Poettering (mzerqung at 0pointer.de) said:
> > Fixed in git, thanks for the report.
>
> BTW: A nice way to make activation of services conditional based on
> existance of a file is the relatively new ConditionPathExists= setting
> in [Unit]. If the file listed there doesn't exist, then the unit will
> not actualy be started, however, it is still useful for all
> synchronization purposes, and hence not disrupt startup in any way.
>
> You can even specify more than one file in which case the unit will be
> run when at least one of those files exists.
http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=12cabd751919122551b6eb73850b35fbe565c679
Bill
More information about the devel
mailing list