summaryrefslogtreecommitdiffstats
path: root/www/junkbuster/files/junkbuster.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/junkbuster/files/junkbuster.sh.in')
-rw-r--r--www/junkbuster/files/junkbuster.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/junkbuster/files/junkbuster.sh.in b/www/junkbuster/files/junkbuster.sh.in
index 9f3e639..e4e4f19 100644
--- a/www/junkbuster/files/junkbuster.sh.in
+++ b/www/junkbuster/files/junkbuster.sh.in
@@ -10,6 +10,10 @@ start)
stop)
killall junkbuster && echo -n " junkbuster"
;;
+restart)
+ $0 stop
+ $0 start
+ ;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
OpenPOWER on IntegriCloud