[
https://issues.apache.org/jira/browse/TS-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779392#action_12779392
]
Zhao Yongming commented on TS-1:
--------------------------------
there is another prefix: exec-prefix which controls bin lib etc. you may need
to use it.
I am using this for my rpm spec: ./configure --prefix=/ --exec-prefix=/usr
--libdir=%{_libdir}/
which will put config in /etc and binary in /usr/bin
FYI
> Startup scripts do not honor --prefix configure option
> -------------------------------------------------------
>
> Key: TS-1
> URL: https://issues.apache.org/jira/browse/TS-1
> Project: Traffic Server
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 2.0a
> Environment: Fedora Core 9
> Reporter: Leif Hedstrom
> Assignee: Andrew Hsu
>
> After running configure with --prefix=/export/apps/TS2, the startup script
> still has:
> PROGRAM=${PROGRAM:-/usr/local/bin/traffic_server}
> PIDFILE=${PIDFILE:-/usr/local/var/trafficserver/internal/server.lock}
> STDOUTLOG=${STDOUTLOG:-/usr/local/var/log/traffic_server.stdout}
> STDERRLOG=${STDERRLOG:-/usr/local/var/log/traffic_server.stderr}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.