From 8093837e933ef693832cbb793be19ae4d2b811d7 Mon Sep 17 00:00:00 2001
From: downtownallday <downtownallday@gmail.com>
Date: Fri, 9 Apr 2021 12:04:11 -0400
Subject: [PATCH] use systemctl 'restart' instead of 'start'

---
 setup/management-capture.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup/management-capture.sh b/setup/management-capture.sh
index 8610ce2e..e4780335 100755
--- a/setup/management-capture.sh
+++ b/setup/management-capture.sh
@@ -27,6 +27,6 @@ fi
 
 sed "s|%BIN%|$(pwd)|g" conf/miabldap-capture.service > /etc/systemd/system/miabldap-capture.service
 
-systemctl daemon-reload
-systemctl enable miabldap-capture
-systemctl start miabldap-capture
+hide_output systemctl daemon-reload
+hide_output systemctl enable miabldap-capture
+restart_service miabldap-capture