[systemd-devel] a little help with $MAINPID please
Reindl Harald
h.reindl at thelounge.net
Sat Feb 23 10:00:42 PST 2013
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" systemd
sends SIGTERM to all processes of the cgroup
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130223/2370287a/attachment.pgp>
More information about the systemd-devel
mailing list