summaryrefslogtreecommitdiff
path: root/net-im/prosody
diff options
context:
space:
mode:
authorDavid Thiel <lx@FreeBSD.org>2010-06-11 16:49:08 +0000
committerDavid Thiel <lx@FreeBSD.org>2010-06-11 16:49:08 +0000
commit24d20d3c919c3bccf209584b371d8ea32e2737e8 (patch)
treed982f9f4dfb1a3978892d55078e0856e652e92e3 /net-im/prosody
parent- Fix PLIST (diff)
Fix rc.d script so that it stops the server when requested.
PR: ports/145015 Submitted by: Yngvi Hrafn Pétursson Approved by: Kelly Hays <kelly.hays@jkhfamily.org> (maintainer)
Notes
Notes: svn path=/head/; revision=256401
Diffstat (limited to 'net-im/prosody')
-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()
{