From 9a947b481e7e81e30578ca8ecc079197d7fdd623 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Mon, 26 Feb 2018 11:02:39 +0100 Subject: [PATCH] Fix haproxy-tcp init script --- luci-app-haproxy-tcp/root/etc/init.d/haproxy-tcp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/luci-app-haproxy-tcp/root/etc/init.d/haproxy-tcp b/luci-app-haproxy-tcp/root/etc/init.d/haproxy-tcp index a32927af0..e69606964 100644 --- a/luci-app-haproxy-tcp/root/etc/init.d/haproxy-tcp +++ b/luci-app-haproxy-tcp/root/etc/init.d/haproxy-tcp @@ -107,6 +107,11 @@ start_service() { config_foreach start_instance general } +stop_service() { + killall haproxy-tcp + service_stop haproxy-tcp +} + service_triggers() { procd_add_reload_trigger haproxy-tcp }