Re: [systemd-devel] systemd restart patch

2011-02-07 Thread Cristian Patrascu
On 02/03/2011 11:19 PM, Michael Biebl wrote: 2011/2/3 Tomasz Torczto...@pipebreaker.pl: On Thu, Feb 03, 2011 at 09:35:55PM +0100, Michael Biebl wrote: ExecStartOnFailure=/some/cmd (send an email or what not) Isn't “OnFailure=send-email-to-admin.service” sufficent? Having to use a service

Re: [systemd-devel] several Conditions (AND or OR)

2011-02-07 Thread Mike Kazantsev
On Mon, 7 Feb 2011 14:24:32 +0300 Alexey Shabalin a.shaba...@gmail.com wrote: Hello! I need define several conditions in [Unit]. ConditionPathExists=/sbin/startevms ConditionKernelCommandLine=!noevms Service must run only if both conditions is true. Now service run if at least one condition