Bob Mottram пре 9 година
родитељ
комит
49dee59df8
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9
    0
      src/freedombone

+ 9
- 0
src/freedombone Прегледај датотеку

3711
     fi
3711
     fi
3712
 
3712
 
3713
     systemctl restart tor
3713
     systemctl restart tor
3714
+    sleep 2
3714
 
3715
 
3715
     if [ ! -f /var/lib/tor/hidden_service_ssh/hostname ]; then
3716
     if [ ! -f /var/lib/tor/hidden_service_ssh/hostname ]; then
3716
         echo $'ssh onion domain hostname not found'
3717
         echo $'ssh onion domain hostname not found'
4224
     fi
4225
     fi
4225
 
4226
 
4226
     systemctl restart tor
4227
     systemctl restart tor
4228
+    sleep 2
4227
 
4229
 
4228
     if [ ! -f /var/lib/tor/hidden_service_email/hostname ]; then
4230
     if [ ! -f /var/lib/tor/hidden_service_email/hostname ]; then
4229
         echo $'Email onion domain hostname not found'
4231
         echo $'Email onion domain hostname not found'
6336
     service php5-fpm restart
6338
     service php5-fpm restart
6337
     service nginx restart
6339
     service nginx restart
6338
     systemctl restart tor
6340
     systemctl restart tor
6341
+    sleep 2
6339
 
6342
 
6340
     if [ ! -f /var/lib/tor/hidden_service_owncloud/hostname ]; then
6343
     if [ ! -f /var/lib/tor/hidden_service_owncloud/hostname ]; then
6341
         echo $'Owncloud onion site hostname not found'
6344
         echo $'Owncloud onion site hostname not found'
6664
     service php5-fpm restart
6667
     service php5-fpm restart
6665
     service nginx restart
6668
     service nginx restart
6666
     systemctl restart tor
6669
     systemctl restart tor
6670
+    sleep 2
6667
 
6671
 
6668
     if [ ! -f /var/lib/tor/hidden_service_gogs/hostname ]; then
6672
     if [ ! -f /var/lib/tor/hidden_service_gogs/hostname ]; then
6669
         echo $'Gogs onion site hostname not found'
6673
         echo $'Gogs onion site hostname not found'
7058
     fi
7062
     fi
7059
 
7063
 
7060
     systemctl restart tor
7064
     systemctl restart tor
7065
+    sleep 2
7061
 
7066
 
7062
     if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
7067
     if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
7063
         echo $'XMPP onion site hostname not found'
7068
         echo $'XMPP onion site hostname not found'
7586
     systemctl restart php5-fpm
7591
     systemctl restart php5-fpm
7587
     systemctl restart nginx
7592
     systemctl restart nginx
7588
     systemctl restart tor
7593
     systemctl restart tor
7594
+    sleep 2
7589
 
7595
 
7590
     if [ ! -f /var/lib/tor/hidden_service_wiki/hostname ]; then
7596
     if [ ! -f /var/lib/tor/hidden_service_wiki/hostname ]; then
7591
         echo $'Wiki onion site hostname not found'
7597
         echo $'Wiki onion site hostname not found'
7998
     systemctl restart php5-fpm
8004
     systemctl restart php5-fpm
7999
     systemctl restart nginx
8005
     systemctl restart nginx
8000
     systemctl restart tor
8006
     systemctl restart tor
8007
+    sleep 2
8001
 
8008
 
8002
     if [ ! -f /var/lib/tor/hidden_service_blog/hostname ]; then
8009
     if [ ! -f /var/lib/tor/hidden_service_blog/hostname ]; then
8003
         echo $'Blog onion site hostname not found'
8010
         echo $'Blog onion site hostname not found'
8314
     systemctl restart php5-fpm
8321
     systemctl restart php5-fpm
8315
     systemctl restart nginx
8322
     systemctl restart nginx
8316
     systemctl restart tor
8323
     systemctl restart tor
8324
+    sleep 2
8317
 
8325
 
8318
     if [ ! -f /var/lib/tor/hidden_service_microblog/hostname ]; then
8326
     if [ ! -f /var/lib/tor/hidden_service_microblog/hostname ]; then
8319
         echo $'GNU Social onion site hostname not found'
8327
         echo $'GNU Social onion site hostname not found'
8750
     service nginx restart
8758
     service nginx restart
8751
     service cron restart
8759
     service cron restart
8752
     systemctl restart tor
8760
     systemctl restart tor
8761
+    sleep 2
8753
 
8762
 
8754
     if [ ! -f /var/lib/tor/hidden_service_hubzilla/hostname ]; then
8763
     if [ ! -f /var/lib/tor/hidden_service_hubzilla/hostname ]; then
8755
         echo $'Hubzilla onion site hostname not found'
8764
         echo $'Hubzilla onion site hostname not found'