From 1aa774053b597fba2b4ea46c43146490220d45ab Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 7 Jan 2016 21:08:05 +0000 Subject: [PATCH] openvpn: added service_triggers() to init script Follow up of #21469 This patch enables autoreloading openvpn via procd. Signed-off-by: Federico Capoano SVN-Revision: 48150 --- package/network/services/openvpn/files/openvpn.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 994973b7d97..342e5d8c70e 100644 --- a/package/network/services/openvpn/files/openvpn.init +++ b/package/network/services/openvpn/files/openvpn.init @@ -152,3 +152,7 @@ start_service() { fi done } + +service_triggers() { + procd_add_reload_trigger openvpn +} -- 2.30.2