Message ID | 568E5406.3060509@ninux.org |
---|---|
State | Changes Requested |
Headers | show |
On 2016-01-07 13:03, Nemesis wrote: > Follow up of #21469 > > This patch enables autoreloading openvpn via procd. > > For more information see: https://dev.openwrt.org/ticket/21469 > > Signed-off-by: Federico Capoano <nemesis@ninux.org> > --- > package/network/services/openvpn/files/openvpn.init | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/network/services/openvpn/files/openvpn.init > b/package/network/services/openvpn/files/openvpn.init The patch is line wrapped and does not apply. Please consider using git send-email. - Felix
* Felix Fietkau <nbd@openwrt.org> [07.01.2016 14:29]: > The patch is line wrapped and does not apply. Please consider using > git send-email. IMHO the attachement applies, does'nt it? bye, bastian
On 2016-01-07 14:31, Bastian Bittorf wrote: > * Felix Fietkau <nbd@openwrt.org> [07.01.2016 14:29]: >> The patch is line wrapped and does not apply. Please consider using >> git send-email. > > IMHO the attachement applies, does'nt it? No, because git am can't magically turn PGP signatures into patches ;) - Felix
On 01/07/2016 02:43 PM, Felix Fietkau wrote: > On 2016-01-07 14:31, Bastian Bittorf wrote: >> > * Felix Fietkau <nbd@openwrt.org> [07.01.2016 14:29]: >>> >> The patch is line wrapped and does not apply. Please consider using >>> >> git send-email. >> > >> > IMHO the attachement applies, does'nt it? > No, because git am can't magically turn PGP signatures into patches ;) Forgive me, it was my first openwrt patch attempt. I will use git send-email. Federico
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init index 994973b..5f8e932 100644 --- a/package/network/services/openvpn/files/openvpn.init +++ b/package/network/services/openvpn/files/openvpn.init @@ -152,3 +152,8 @@ start_service() { fi done } + +service_triggers() { + procd_add_reload_trigger openvpn +} +
Follow up of #21469 This patch enables autoreloading openvpn via procd. For more information see: https://dev.openwrt.org/ticket/21469 Signed-off-by: Federico Capoano <nemesis@ninux.org> --- package/network/services/openvpn/files/openvpn.init | 5 +++++ 1 file changed, 5 insertions(+)