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.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/junkbuster/files/junkbuster.sh.in b/www/junkbuster/files/junkbuster.sh.in
new file mode 100644
index 0000000..b4176bc
--- /dev/null
+++ b/www/junkbuster/files/junkbuster.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+test -d JDIR -a -x PREFIX/bin/junkbuster -a -f JDIR/configfile || exit 1
+cd JDIR
+su -m nobody -c "PREFIX/bin/junkbuster configfile &"
+echo -n " junkbuster"
OpenPOWER on IntegriCloud