Changes the pidfile used by daemon when start traffic server,

the previous one conflicts with traffic_cop pidfile.

PR:		ports/193553
Submitted by:	realhuang21@gmail.com
Approved by:	mentors (implicit)
This commit is contained in:
Rodrigo Osorio 2014-10-18 17:15:49 +00:00
parent 632d308662
commit 4e0fde3c13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371143
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= trafficserver
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE/${PORTNAME}

View File

@ -14,7 +14,7 @@ name="trafficserver"
trafficserver_enable=${trafficserver_enable:-"NO"}
trafficserver_tm_pidfile=${trafficserver_tm_pidfile:-"/var/run/trafficserver/manager.lock"}
trafficserver_ts_pidfile=${trafficserver_ts_pidfile:-"/var/run/trafficserver/server.lock"}
pidfile="/var/run/trafficserver/cop.lock"
pidfile="/var/run/trafficserver/traffic_cop.lock"
stop_cmd="trafficserver_stop"
command=/usr/sbin/daemon
command_args="-p ${pidfile} %%PREFIX%%/bin/traffic_cop"