Try sleep after restart
This commit is contained in:
parent
accf0c0125
commit
49dee59df8
|
@ -3711,6 +3711,7 @@ function configure_ssh_onion {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_ssh/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_ssh/hostname ]; then
|
||||||
echo $'ssh onion domain hostname not found'
|
echo $'ssh onion domain hostname not found'
|
||||||
|
@ -4224,6 +4225,7 @@ function configure_email {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_email/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_email/hostname ]; then
|
||||||
echo $'Email onion domain hostname not found'
|
echo $'Email onion domain hostname not found'
|
||||||
|
@ -6336,6 +6338,7 @@ quit" > $INSTALL_DIR/batch.sql
|
||||||
service php5-fpm restart
|
service php5-fpm restart
|
||||||
service nginx restart
|
service nginx restart
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_owncloud/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_owncloud/hostname ]; then
|
||||||
echo $'Owncloud onion site hostname not found'
|
echo $'Owncloud onion site hostname not found'
|
||||||
|
@ -6664,6 +6667,7 @@ quit" > $INSTALL_DIR/batch.sql
|
||||||
service php5-fpm restart
|
service php5-fpm restart
|
||||||
service nginx restart
|
service nginx restart
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_gogs/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_gogs/hostname ]; then
|
||||||
echo $'Gogs onion site hostname not found'
|
echo $'Gogs onion site hostname not found'
|
||||||
|
@ -7058,6 +7062,7 @@ function install_xmpp {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_xmpp/hostname ]; then
|
||||||
echo $'XMPP onion site hostname not found'
|
echo $'XMPP onion site hostname not found'
|
||||||
|
@ -7586,6 +7591,7 @@ function install_wiki {
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_wiki/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_wiki/hostname ]; then
|
||||||
echo $'Wiki onion site hostname not found'
|
echo $'Wiki onion site hostname not found'
|
||||||
|
@ -7998,6 +8004,7 @@ function install_blog {
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_blog/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_blog/hostname ]; then
|
||||||
echo $'Blog onion site hostname not found'
|
echo $'Blog onion site hostname not found'
|
||||||
|
@ -8314,6 +8321,7 @@ quit" > $INSTALL_DIR/batch.sql
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_microblog/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_microblog/hostname ]; then
|
||||||
echo $'GNU Social onion site hostname not found'
|
echo $'GNU Social onion site hostname not found'
|
||||||
|
@ -8750,6 +8758,7 @@ quit" > $INSTALL_DIR/batch.sql
|
||||||
service nginx restart
|
service nginx restart
|
||||||
service cron restart
|
service cron restart
|
||||||
systemctl restart tor
|
systemctl restart tor
|
||||||
|
sleep 2
|
||||||
|
|
||||||
if [ ! -f /var/lib/tor/hidden_service_hubzilla/hostname ]; then
|
if [ ! -f /var/lib/tor/hidden_service_hubzilla/hostname ]; then
|
||||||
echo $'Hubzilla onion site hostname not found'
|
echo $'Hubzilla onion site hostname not found'
|
||||||
|
|
Loading…
Reference in New Issue