aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/prosody/files
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2014-01-25 13:06:30 +0800
committerlx <lx@FreeBSD.org>2014-01-25 13:06:30 +0800
commit6a23ddfd2443f98ef5029182260c6388f64daa42 (patch)
treee3635de4bf76c6f63f4f75e420fab4e2e7f12169 /net-im/prosody/files
parent75fa5e4abea5d367340e9a6b574236fddde67fb7 (diff)
downloadfreebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.tar.gz
freebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.tar.zst
freebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.zip
Fix on 10 and tweak rc script.
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r--net-im/prosody/files/prosody.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/prosody/files/prosody.in b/net-im/prosody/files/prosody.in
index e336d1eca09c..46facf947b80 100644
--- a/net-im/prosody/files/prosody.in
+++ b/net-im/prosody/files/prosody.in
@@ -16,12 +16,12 @@
name="prosody"
rcvar=prosody_enable
-pidfile="%%PREFIX%%/var/lib/prosody/prosody.pid"
command="%%PREFIX%%/bin/prosodyctl"
load_rc_config $name
-prosody=${prosody_enable-"NO"}
+prosody_enable=${prosody_enable:-"NO"}
+pidfile=${prosody_pidfile:-"%%PREFIX%%/var/lib/prosody/prosody.pid"}
extra_commands="status"