reload tor first

This commit is contained in:
Bob Mottram 2016-11-20 21:42:42 +00:00
parent d5f6748ca1
commit 812f5db8fb
1 changed files with 3 additions and 3 deletions

View File

@ -210,6 +210,9 @@ else
fi fi
systemctl restart syslog systemctl restart syslog
if [ -d /etc/tor ]; then
systemctl reload tor
fi
if [ -d /etc/nginx ]; then if [ -d /etc/nginx ]; then
systemctl restart php5-fpm systemctl restart php5-fpm
systemctl restart nginx systemctl restart nginx
@ -226,9 +229,6 @@ fi
if [ -d /etc/dovecot ]; then if [ -d /etc/dovecot ]; then
systemctl restart dovecot systemctl restart dovecot
fi fi
if [ -d /etc/tor ]; then
systemctl reload tor
fi
if [ -f /etc/mumble-server.ini ]; then if [ -f /etc/mumble-server.ini ]; then
systemctl restart mumble-server systemctl restart mumble-server
fi fi