]> git.kaiwu.me - haproxy.git/commit
MINOR: systemd wrapper: propagate exit status
authorApollon Oikonomopoulos <apoikos@debian.org>
Thu, 17 Apr 2014 13:39:30 +0000 (16:39 +0300)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2014 16:11:11 +0000 (18:11 +0200)
commite8ea598721ee7e7c093853cc1b8c1f5abe717f90
tree956a428da4c2a410143052d20d4a8dba7dca4845
parent6b6f3a09fb29b899254e6360061aa8f640ab9237
MINOR: systemd wrapper: propagate exit status

Use HAProxy's exit status as the systemd wrapper's exit status instead
of always returning EXIT_SUCCESS, permitting the use of systemd's
`Restart = on-failure' logic.
src/haproxy-systemd-wrapper.c