On Tue, 27.01.15 19:26, Christian Seiler ([email protected]) wrote:

> I know, but I wanted to have something that was easily understandable at
> first glance that was already set in the original unit that would then
> be overridden. I'll use Nice= instead, that's more likely to be
> used.

Yeah, sounds like the better option.

> >> +                        <para>The first possibility is to copy the unit
> >> +                        file to
> >> +                        
> >> <filename>/etc/systemd/system/httpd.service</filename>
> >> +                        and change the chosen settings:</para>
> >> +
> >> +                        <programlisting>[Unit]
> >> +Description=Some HTTP server
> >> +After=network.target remote-fs.target sqldb.service 
> >> <emphasis>memcached.service</emphasis>
> >> +Requires=sqldb.service <emphasis>memcached.service</emphasis>
> >> +ConditionPathExists=<emphasis>/srv/www</emphasis>
> > 
> > I wonder if the example should better use AssertionXYZ rather than
> > ConditionXYZ for this?
> 
> A right, that's new, I'll use that instead.
> 
> Will send second patch after your response to my question.

Uh, which question are you precisely referring to?

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to