From 5de1854edd754a924e565b14db4ae0b92184d473 Mon Sep 17 00:00:00 2001 From: Julien VAUBOURG Date: Fri, 14 Nov 2014 19:32:48 +0100 Subject: [PATCH] Fix service openvpn --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 12d7518..72bcd61 100644 --- a/scripts/install +++ b/scripts/install @@ -134,7 +134,8 @@ sudo install -b -o root -g root -m 0755 ../conf/init_ynh-vpnclient /etc/init.d/y # Set default inits # The openvpn configuration is modified before the start, so the service is disabled by default # and the ynh-vpnclient service handles it. -sudo service openvpn stop &> /dev/null +sudo yunohost service add openvpn +sudo yunohost service stop openvpn sudo yunohost service disable openvpn sudo yunohost service add php5-fpm