summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2015-11-05 01:43:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-06 00:27:30 +0700
commit1719935dacc465f2f780db1cfe811b7eff56292b (patch)
treec2ec33c45b98a4ea7eff1c2553b02ca555400005
parent05a459bbd1091ec8762477e9684434e8a9c668b2 (diff)
downloadslackbuilds-1719935dacc465f2f780db1cfe811b7eff56292b.tar.gz
network/jabberd2: Fix startup script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/jabberd2/jabberd2.SlackBuild2
-rw-r--r--network/jabberd2/rc.jabberd21
2 files changed, 2 insertions, 1 deletions
diff --git a/network/jabberd2/jabberd2.SlackBuild b/network/jabberd2/jabberd2.SlackBuild
index 74eebb310f..642107b5e7 100644
--- a/network/jabberd2/jabberd2.SlackBuild
+++ b/network/jabberd2/jabberd2.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=jabberd2
VERSION=${VERSION:-2.2.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/network/jabberd2/rc.jabberd2 b/network/jabberd2/rc.jabberd2
index 5319a8eea8..ca328a6df3 100644
--- a/network/jabberd2/rc.jabberd2
+++ b/network/jabberd2/rc.jabberd2
@@ -34,6 +34,7 @@ restart)
jabberd2_stop
sleep 2
jabberd2_start
+ ;;
*)
echo "Usage $0 (start|stop|restart|status)"
esac