From d1bea46690ce6fc07df21b75fa7626ba1eee5d54 Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Sun, 6 Nov 2016 15:23:02 -0700 Subject: [PATCH] add restart --- plugins/ungit.plg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/ungit.plg b/plugins/ungit.plg index da5eb319..6815e297 100644 --- a/plugins/ungit.plg +++ b/plugins/ungit.plg @@ -91,9 +91,7 @@ else #restart event daemon echo "starting ungit..." - at -M -f &emhttp;/scripts/stop now 2>/dev/null - sleep 1 - at -M -f &emhttp;/scripts/start now 2>/dev/null + at -M -f &emhttp;/scripts/restart now 2>/dev/null # Cleaning old source files find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete