diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-29 20:56:33 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-29 20:56:33 +0000 |
commit | c2e7942b45325cd9abdd89823437e4f02982393b (patch) | |
tree | f9f451497e58f34d079fd7f5e59d00316e36a8d8 /net-im/jabberd | |
parent | 1cc403093e46ea1285c969baaf9a1eafaedf62e3 (diff) |
- Adapt rc script to latest localpkg changes
PR: ports/69667
Submitted by: Kirk Strauser <kirk@strauser.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=115034
Diffstat (limited to 'net-im/jabberd')
-rw-r--r-- | net-im/jabberd/files/jabberd.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net-im/jabberd/files/jabberd.sh b/net-im/jabberd/files/jabberd.sh index 33067553c64a..baf05a5d4fe7 100644 --- a/net-im/jabberd/files/jabberd.sh +++ b/net-im/jabberd/files/jabberd.sh @@ -1,7 +1,7 @@ #!/bin/sh # Start or stop jabberd -# $FreeBSD: /tmp/pcvs/ports/net-im/jabberd/files/Attic/jabberd.sh,v 1.4 2004-07-15 10:46:00 vs Exp $ +# $FreeBSD: /tmp/pcvs/ports/net-im/jabberd/files/Attic/jabberd.sh,v 1.5 2004-07-29 20:56:33 pav Exp $ # PROVIDE: jabberd # REQUIRE: DAEMON @@ -16,10 +16,9 @@ prefix=%%PREFIX%% # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -jabberd_chdir="/var/jabberd/pid" -jabberd_enable="NO" -jabberd_flags="" -jabberd_user="jabber" +jabberd_chdir=${jabberd_chdir-"/var/jabberd/pid"} +jabberd_enable=${jabberd_enable-"NO"} +jabberd_user=${jabberd_user-"jabber"} . %%RC_SUBR%% @@ -34,7 +33,7 @@ load_rc_config $name pidfile="${jabberd_chdir}/router.pid" case "$1" in - stop) + stop|faststop|onestop) echo "Stopping Jabber2" killall -u ${jabberd_user} jabberd c2s resolver router s2s sm for file in c2s resolver router s2s sm; do |