Re: [systemd-devel] Emergency mode if non-critical /etc/fstab entries are missing

2016-09-29 Thread Jonathan Dowland
On Mon, Sep 26, 2016 at 12:31:10PM +0200, Reindl Harald wrote: > because earlier systems (sysvinit) hat no concept like emergency mode as > they where a lousy bunch of scripts where you ended in case of a crucial > disk failing in a undefined state? > > because earlier systems had no concept for

Re: [systemd-devel] assign variable to some service item

2016-09-29 Thread Brian Kroth
I asked about something similar to this a while back. I think the answer was that variable expansion only works in the Exec* directives. Cheers, Brian On Thu, Sep 29, 2016, 03:26 Vasiliy Tolstov wrote: > I have CPUAffinity inside service file and want to configure it via >

Re: [systemd-devel] mysql open_files_limit controlled by systemd

2016-09-29 Thread Hajo Locke
Hello, Am 29.09.2016 um 12:05 schrieb Reindl Harald: Am 29.09.2016 um 11:56 schrieb Hajo Locke: Hello, Am 29.09.2016 um 11:30 schrieb Tomasz Torcz: On Thu, Sep 29, 2016 at 11:20:34AM +0200, Hajo Locke wrote: Hello List, we found out that mysql open_files_limit ist controlled by

Re: [systemd-devel] mysql open_files_limit controlled by systemd

2016-09-29 Thread Reindl Harald
Am 29.09.2016 um 11:56 schrieb Hajo Locke: Hello, Am 29.09.2016 um 11:30 schrieb Tomasz Torcz: On Thu, Sep 29, 2016 at 11:20:34AM +0200, Hajo Locke wrote: Hello List, we found out that mysql open_files_limit ist controlled by systemd-service file. We used LimitNOFILE to increase default

Re: [systemd-devel] mysql open_files_limit controlled by systemd

2016-09-29 Thread Tomasz Torcz
On Thu, Sep 29, 2016 at 11:20:34AM +0200, Hajo Locke wrote: > Hello List, > > we found out that mysql open_files_limit ist controlled by systemd-service > file. We used LimitNOFILE to increase default value. > This value is always overwriting the value from my.cnf file. > Is there a way to tell

[systemd-devel] mysql open_files_limit controlled by systemd

2016-09-29 Thread Hajo Locke
Hello List, we found out that mysql open_files_limit ist controlled by systemd-service file. We used LimitNOFILE to increase default value. This value is always overwriting the value from my.cnf file. Is there a way to tell systemd to not control a service in this way so control completely

[systemd-devel] assign variable to some service item

2016-09-29 Thread Vasiliy Tolstov
I have CPUAffinity inside service file and want to configure it via EnvironmentFile, but CPUAffinity=$CPUAffinity does not work with message Failed to parse CPU affinity '$CPUAffinity' Environment file contains CPUAffinity="0-2" Does it possible to assign cpu affinity via env variable ? Thanks!