projects
/
haproxy-2.3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e202b1e
)
MEDIUM: systemd: Type=forking in unit file
author
William Lallemand
<wlallemand@haproxy.com>
Thu, 1 Jun 2017 15:38:57 +0000
(17:38 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 2 Jun 2017 08:56:32 +0000
(10:56 +0200)
Adding Type=forking in the unit file ensure better monitoring from
systemd. During a systemctl start the tool is able to return an error if
it didn't work with this option.
contrib/systemd/haproxy.service.in
patch
|
blob
|
history
diff --git
a/contrib/systemd/haproxy.service.in
b/contrib/systemd/haproxy.service.in
index
05bb716
..
ca38d70
100644
(file)
--- a/
contrib/systemd/haproxy.service.in
+++ b/
contrib/systemd/haproxy.service.in
@@
-12,6
+12,7
@@
ExecReload=@SBINDIR@/haproxy -f $CONFIG -c -q
ExecReload=/bin/kill -USR2 $MAINPID
KillMode=mixed
Restart=always
+Type=forking
[Install]
WantedBy=multi-user.target