Browse Source

script install - start at boot

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

+ 4 - 1
scripts/install

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# VPN Client app for YunoHost 
+# Tor Client app for YunoHost 
 # Copyright (C) 2015 Emile Morel <emile@bleuchtang.fr>
 # Copyright (C) 2015 Julien Vaubourg <julien@vaubourg.com>
 # Contribute at https://github.com/bleuchtang/torclient_ynh
@@ -89,4 +89,7 @@ sudo yunohost app ssowatconf
 # Start tor client
 service torclient start
 
+# Start tor client at boot 
+insserv torclient
+
 exit 0