diff options
author | vs <vs@FreeBSD.org> | 2004-07-15 18:46:00 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-15 18:46:00 +0800 |
commit | ffd7de606c8c56cad26ceac49e218bddd4257044 (patch) | |
tree | 423be9ea8468d83bc3459ad97f52425ea60785ca /net-im/jabberd/files | |
parent | e4df56bd15685bbba1b84e316f6db8d947b7d992 (diff) | |
download | freebsd-ports-gnome-ffd7de606c8c56cad26ceac49e218bddd4257044.tar.gz freebsd-ports-gnome-ffd7de606c8c56cad26ceac49e218bddd4257044.tar.zst freebsd-ports-gnome-ffd7de606c8c56cad26ceac49e218bddd4257044.zip |
Fix hardcoded paths.
PR: ports/69082
Submitted by: Kirk Strauser (maintainer)
Diffstat (limited to 'net-im/jabberd/files')
-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 ba4d7d177121..33067553c64a 100644 --- a/net-im/jabberd/files/jabberd.sh +++ b/net-im/jabberd/files/jabberd.sh @@ -1,19 +1,18 @@ #!/bin/sh # Start or stop jabberd -# $FreeBSD: /tmp/pcvs/ports/net-im/jabberd/files/Attic/jabberd.sh,v 1.3 2004-07-13 02:38:15 edwin Exp $ +# $FreeBSD: /tmp/pcvs/ports/net-im/jabberd/files/Attic/jabberd.sh,v 1.4 2004-07-15 10:46:00 vs Exp $ # PROVIDE: jabberd # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: FreeBSD shutdown # -prefix=/usr/local +prefix=%%PREFIX%% # Define these jabberd_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local -# /etc/rc.conf.d/gkrellmd # # DO NOT CHANGE THESE DEFAULT VALUES HERE # @@ -22,13 +21,13 @@ jabberd_enable="NO" jabberd_flags="" jabberd_user="jabber" -. /etc/rc.subr +. %%RC_SUBR%% name="jabberd" rcvar=`set_rcvar` -command="/usr/local/bin/jabberd" +command="${prefix}/bin/jabberd" command_args="&" -procname="/usr/local/bin/router" +procname="${prefix}/bin/router" load_rc_config $name |