diff options
author | pav <pav@FreeBSD.org> | 2004-07-30 04:56:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-30 04:56:33 +0800 |
commit | fd509de3ba88834f603fd30068040d7bb63a554e (patch) | |
tree | 1eaa412569aaec2f4fc4acd430e8a27bc3d1da5f /net-im/jabberd | |
parent | bd02d4dd34e04129cee02aeadbb2a95778848f05 (diff) | |
download | freebsd-ports-gnome-fd509de3ba88834f603fd30068040d7bb63a554e.tar.gz freebsd-ports-gnome-fd509de3ba88834f603fd30068040d7bb63a554e.tar.zst freebsd-ports-gnome-fd509de3ba88834f603fd30068040d7bb63a554e.zip |
- Adapt rc script to latest localpkg changes
PR: ports/69667
Submitted by: Kirk Strauser <kirk@strauser.com> (maintainer)
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 |