Parcourir la source

Fix service openvpn

Julien VAUBOURG il y a 10 ans
Parent
commit
5de1854edd
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      scripts/install

+ 2 - 1
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
 # Set default inits
 # The openvpn configuration is modified before the start, so the service is disabled by default
 # The openvpn configuration is modified before the start, so the service is disabled by default
 # and the ynh-vpnclient service handles it.
 # 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 disable openvpn
 
 
 sudo yunohost service add php5-fpm
 sudo yunohost service add php5-fpm