Commit Graph

4 Commits

Author SHA1 Message Date
Justin Findlay
3d575e29c4 set systemd service killMode to process for minion
Fixes #22993.

The change is only made for the minion process because, theoretically,
only the minion could create the problem described.  salt-master and
salt-syndic do not theoretically spawn non-salt processes during the
lifetime of their processes, whereas salt-minion does this by design.

The default behavior for systemd killMode seems to be control-group,
which means all processes that share the same control group as the
minion process will also be killed by systemd when the minion service is
stopped (killed).

It is reasonable to expect that activity done on a system by a salt
minion should persist beyond the lifetime of the minion process, so
let's not kill procs that the minion starts even when the minion exits.
2015-04-23 16:18:19 -06:00
Thomas S Hatch
09f2239167 Change the systemd scripts to use simple instead of forking 2012-11-20 12:14:21 -07:00
Ivoz
63352e6fa4 Change systemd-started services to be daemonized 2012-10-26 09:51:41 +11:00
Ivoz
0a071e479c Move systemd service files to a separate directory
Since service files might be used by many distros (arch, rpm-based,
gentoo, mindriva, mageia) I think it would be useful to symlink to
standard ones (and copy and edit them if differences are needed).
2012-10-26 09:45:33 +11:00