Parcourir la source

install script - add sudo

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

+ 4 - 3
scripts/install

@@ -91,10 +91,11 @@ sudo service nginx reload
 sudo yunohost app ssowatconf
 
 # Start tor client
-service ynh-torclient start
-service tor restart
+sudo service ynh-torclient stop
+sudo yunohost service disable tor
+sudo service ynh-torclient start
 
 # Start tor client at boot 
-insserv ynh-torclient
+sudo insserv ynh-torclient
 
 exit 0