Parcourir la source

script install - user main service command to stop service

Émile Morel il y a 10 ans
Parent
commit
1afe3c982b
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      scripts/install

+ 3 - 3
scripts/install

@@ -90,10 +90,10 @@ sudo service nginx reload
 # Update SSO for vpnadmin
 sudo yunohost app ssowatconf
 
-# Start tor client
+# Stop tor client
 sudo service ynh-torclient stop
-sudo yunohost service stop tor
-sudo yunohost service disable tor
+sudo service tor stop
+sudo insserv -d tor
 #sudo service ynh-torclient start
 sudo yunohost app setting torclient wifi_ssid -v notset
 sudo yunohost app setting torclient wifi_device_old -v notset