Browse Source

install script - add sudo

Émile Morel 10 years ago
parent
commit
f72ae9134b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      scripts/install

+ 4 - 3
scripts/install

@@ -91,10 +91,11 @@ sudo service nginx reload
 sudo yunohost app ssowatconf
 sudo yunohost app ssowatconf
 
 
 # Start tor client
 # 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 
 # Start tor client at boot 
-insserv ynh-torclient
+sudo insserv ynh-torclient
 
 
 exit 0
 exit 0