On Sun, Mar 18, 2012 at 07:37:01PM -0000, Igor Galić wrote:
> 
> I'd put it in rc/ -- like the others.
> And I'd make it a Makefile.am target to replace
> 
> > > +EnvironmentFile=-/etc/sysconfig/trafficserver
> > > +PIDFile=/var/run/trafficserver/cop.pid
> > > +ExecStart=/usr/bin/traffic_cop $TC_DAEMON_ARGS
> > > +ExecReload=/usr/bin/traffic_line -x
> 
> These with the target values for the system in question.

I don't think there's anything to replace /etc/sysconfig/trafficserver
with, so this needs to be hardcoded or dropped (ref:
http://0pointer.de/blog/projects/on-etc-sysinit.html). The others I've
replaced with:

        PIDFile=@exp_runtimedir@/cop.pid
        ExecStart=@exp_bindir@/traffic_cop $TC_DAEMON_ARGS
        ExecReload=@exp_bindir@/traffic_line -x

Updated patch coming in a minute..


  -jf

Reply via email to