summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2014-10-18 17:15:49 +0000
committerrodrigo <rodrigo@FreeBSD.org>2014-10-18 17:15:49 +0000
commitd65b3fd49bdf29fdcab8004169ae1d68cfe609c8 (patch)
treebd67368ea38e4d3304dbdff74c279874d4fbd032
parent31874e22f08ec5a00bce88f89fabaaee423112de (diff)
downloadFreeBSD-ports-d65b3fd49bdf29fdcab8004169ae1d68cfe609c8.zip
FreeBSD-ports-d65b3fd49bdf29fdcab8004169ae1d68cfe609c8.tar.gz
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)
-rw-r--r--www/trafficserver/Makefile1
-rw-r--r--www/trafficserver/files/trafficserver.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile
index 1fea280..f5cda4e 100644
--- a/www/trafficserver/Makefile
+++ b/www/trafficserver/Makefile
@@ -3,6 +3,7 @@
PORTNAME= trafficserver
PORTVERSION= 5.0.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE/${PORTNAME}
diff --git a/www/trafficserver/files/trafficserver.in b/www/trafficserver/files/trafficserver.in
index 765c8ce..c7f0872 100644
--- a/www/trafficserver/files/trafficserver.in
+++ b/www/trafficserver/files/trafficserver.in
@@ -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"
OpenPOWER on IntegriCloud