Created attachment 147211 [details] trafficserver.in.diff The trafficserver.in 「pidfile="/var/run/trafficserver/traffic_cop.lock"」 is not work.
Awaiting maintainers approval
The delay is longer than 2 weeks, so this PR no longer requires maintainer approval. Moving to patch-ready pool.
Hi, Can you provide more information about why the current pidfile doesn't work and has to be changed. @port maintainer: a feedback will be welcome.
The daemon /usr/local/bin/traffic_cop use the default pidfile /var/run/trafficserver/cop.lock , so trafficserver.in pidfile can not be use the same.
(In reply to Real Huang from comment #0) > Created attachment 147211 [details] > trafficserver.in.diff > > The trafficserver.in 「pidfile="/var/run/trafficserver/traffic_cop.lock"」 is > not > > work. The trafficserver.in 「pidfile="/var/run/trafficserver/cop.lock"」 is not work.
A commit references this bug: Author: rodrigo Date: Sat Oct 18 17:15:50 UTC 2014 New revision: 371143 URL: https://svnweb.freebsd.org/changeset/ports/371143 Log: 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) Changes: head/www/trafficserver/Makefile head/www/trafficserver/files/trafficserver.in
commited with minor changes, thanks