[systemd-devel] Staring Apply kernel Variables failed.

2011-02-07 Thread Chanwoo Choi
Dear members, I faced following error which is "Starting Apply Kernel Variables failed." . Already, My system have /etc/sysctl.conf , /etc/sysctl.d/ and "systemd-sysctl" is executed successfully. Starting Apply Kernel Variables... [5.623434] systemd[1]: About to execute: /usr/local/build/li

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 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 is true. > How

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

2011-02-07 Thread Gustavo Sverzut Barbieri
On Mon, Feb 7, 2011 at 9:24 AM, Alexey Shabalin 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 is true. > How ch

[systemd-devel] systemd and sshd.socket/sshd@.service

2011-02-07 Thread Vasiliy G Tolstov
Hello. I'm new in this list. I'm using systemd-17. I'm try to use sshd.socket and sshd@.service (run sshd in inetd mode). After i'm start service with systemctl start sshd.socket i'm able to connect. But after some time (for example disconnecting) sshd not respond. netstat -nal says, that nobody l

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

2011-02-07 Thread Alexey Shabalin
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 is true. How chenge (Condition1 || Condition2) to (Condition1 && Condition2) -- Al

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 Torcz: 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 file for this use case