From 812f5db8fb9979af1c86d2710efb3c1d5cc617f1 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@robotics.uk.to>
Date: Sun, 20 Nov 2016 21:42:42 +0000
Subject: [PATCH] reload tor first

---
 src/freedombone-logging | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/freedombone-logging b/src/freedombone-logging
index ce2e875ed..688528b71 100755
--- a/src/freedombone-logging
+++ b/src/freedombone-logging
@@ -210,6 +210,9 @@ else
 fi
 
 systemctl restart syslog
+if [ -d /etc/tor ]; then
+    systemctl reload tor
+fi
 if [ -d /etc/nginx ]; then
     systemctl restart php5-fpm
     systemctl restart nginx
@@ -226,9 +229,6 @@ fi
 if [ -d /etc/dovecot ]; then
     systemctl restart dovecot
 fi
-if [ -d /etc/tor ]; then
-    systemctl reload tor
-fi
 if [ -f /etc/mumble-server.ini ]; then
     systemctl restart mumble-server
 fi
-- 
GitLab