Skip to content

Commit

Permalink
Add KillMode=process to systemd unit
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
  • Loading branch information
jnummelin committed Dec 22, 2020
1 parent 5aa0390 commit ae2329d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/install/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func EnsureService(args []string) error {
case "linux-openrc":
deps = []string{"need net", "use dns", "after firewall"}
case "linux-systemd":
deps = []string{"After=network.target"}
deps = []string{"After=network.target", "KillMode=process"}
default:
}

Expand Down

0 comments on commit ae2329d

Please sign in to comment.