mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- fix pidfile variable for rc
PR: ports/123254 Submitted by: Ruben van Staveren <ruben@verweg.com> Approved by: mm (maintainer)
This commit is contained in:
parent
7377d2d0d4
commit
fef3cacda4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212365
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
PORTNAME= mu-conference
|
||||
PORTVERSION= 0.7
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= http://download.gna.org/mu-conference/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
|
|
@ -25,7 +25,6 @@ name="mu_conference"
|
|||
rcvar=`set_rcvar`
|
||||
|
||||
command="%%PREFIX%%/bin/mu-conference"
|
||||
pidfile=${mu_conference_pidfile:-"%%JABBER_PIDDIR%%/mu-conference.pid"}
|
||||
|
||||
stop_postcmd="mu_conference_stop_post"
|
||||
|
||||
|
@ -38,7 +37,9 @@ load_rc_config $name
|
|||
: ${mu_conference_config="%%PREFIX%%/etc/muc.xml"}
|
||||
: ${mu_conference_enable="NO"}
|
||||
: ${mu_conference_user="%%JABBER_USER%%"}
|
||||
: ${mu_conference_pidfile="%%JABBER_PIDDIR%%/mu-conference.pid"}
|
||||
|
||||
pidfile=${mu_conference_pidfile}
|
||||
command_args="-c ${mu_conference_config} -B >/dev/null 2>&1"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Add table
Reference in a new issue