On Sat, Feb 23, 2013 at 8:13 PM, Mantas Mikulėnas wrote:
> On Sat, Feb 23, 2013 at 8:01 PM, lux-integ wrote:
>> b) what are the advantages or disadvantaes of the following line
>> ExecStop=/bin/kill -15 $(/bin/pidof mysqld)
>> over
>> ExecStop=/bin/kill -15 $MAINPID
>
> The former will simply not
On Sat, Feb 23, 2013 at 8:01 PM, lux-integ wrote:
> Greetings
>
> I am an absolute beginner with systemd. I came across the gentoo systemd
> script
> ( http://en.gentoo-wiki.com/wiki/Systemd )
> for mysql-daemon. It has these lines:-
>
> ExecStart=/usr/sbin/mysqld --pid-file=/var/run/mysqld/my
Am 23.02.2013 19:01, schrieb lux-integ:
> b) what are the advantages or disadvantaes of the following line
> ExecStop=/bin/kill -15 $(/bin/pidof mysqld)
> over
> ExecStop=/bin/kill -15 $MAINPID
and BTW you do not need any ExecStop in such cases
15 = SIGTERM = default and at "service stop" syst
Am 23.02.2013 19:01, schrieb lux-integ:
> Greetings
>
> I am an absolute beginner with systemd. I came across the gentoo systemd
> script
> ( http://en.gentoo-wiki.com/wiki/Systemd )
> for mysql-daemon. It has these lines:-
>
> ExecStart=/usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.
Greetings
I am an absolute beginner with systemd. I came across the gentoo systemd
script
( http://en.gentoo-wiki.com/wiki/Systemd )
for mysql-daemon. It has these lines:-
ExecStart=/usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
ExecStop=/bin/kill -15 $MAINPID
PIDFile=/var/run/mysql
On Sat, Feb 23, 2013 at 02:05:27PM +, Steven Hiscocks wrote:
> On 23/02/13 00:43, Zbigniew Jędrzejewski-Szmek wrote:
> >On Thu, Feb 21, 2013 at 06:46:35PM +, Steven Hiscocks wrote:
> >>On 21/02/13 01:49, Zbigniew Jędrzejewski-Szmek wrote:
> >>>On Tue, Feb 19, 2013 at 09:02:56PM +, Steve
On 23/02/13 00:43, Zbigniew Jędrzejewski-Szmek wrote:
On Thu, Feb 21, 2013 at 06:46:35PM +, Steven Hiscocks wrote:
On 21/02/13 01:49, Zbigniew Jędrzejewski-Szmek wrote:
On Tue, Feb 19, 2013 at 09:02:56PM +, Steven Hiscocks wrote:
I've pushed a few more commits.
I've pushed a few commi