aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/prosody/Makefile2
-rw-r--r--net-im/prosody/files/prosody.in6
2 files changed, 7 insertions, 1 deletions
diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile
index 6ba1ec673382..e5c77bec7727 100644
--- a/net-im/prosody/Makefile
+++ b/net-im/prosody/Makefile
@@ -7,7 +7,7 @@
PORTNAME= prosody
PORTVERSION= 0.5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= http://prosody.im/downloads/source/
diff --git a/net-im/prosody/files/prosody.in b/net-im/prosody/files/prosody.in
index 0312ebf91af1..e3502447b4cc 100644
--- a/net-im/prosody/files/prosody.in
+++ b/net-im/prosody/files/prosody.in
@@ -22,6 +22,12 @@ prosody=${prosody_enable-"NO"}
command_args="$1"
status_cmd=prosody_status_cmd
+stop_cmd=prosody_stop_cmd
+
+prosody_stop_cmd()
+{
+ /usr/local/bin/prosodyctl stop
+}
prosody_status_cmd()
{