diff options
| author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2016-10-05 22:10:17 +0100 |
|---|---|---|
| committer | Patrice Clement <monsieurp@gentoo.org> | 2016-10-15 16:52:33 +0200 |
| commit | 2bfe6e3f45c9c3a26b44bdceaff67839504a19de (patch) | |
| tree | 4ba5c00147aabaed4931e02d030e330870273e83 /net-proxy/haproxy/files/haproxy.initd-r2 | |
| parent | a8bc5281e1093f11fc06423343564be376df4fa5 (diff) | |
| download | gentoo-2bfe6e3f45c9c3a26b44bdceaff67839504a19de.tar.gz gentoo-2bfe6e3f45c9c3a26b44bdceaff67839504a19de.tar.bz2 gentoo-2bfe6e3f45c9c3a26b44bdceaff67839504a19de.zip | |
net-proxy/haproxy: major improvements.
* Move to /run.
* Remove commented USE_LINUX_SPLICE since declaration is implicit.
* Remove commented USE_LINUX_TPROXY since declaration is implicit.
* Keep lua for live ebuild.
Gentoo-Bug: https://bugs.gentoo.org/332633
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2486
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-proxy/haproxy/files/haproxy.initd-r2')
| -rw-r--r-- | net-proxy/haproxy/files/haproxy.initd-r2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-proxy/haproxy/files/haproxy.initd-r2 b/net-proxy/haproxy/files/haproxy.initd-r2 index 39a5bb457bd4..15c5eb5b08c6 100644 --- a/net-proxy/haproxy/files/haproxy.initd-r2 +++ b/net-proxy/haproxy/files/haproxy.initd-r2 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,7 +7,7 @@ extra_commands="checkconfig" extra_started_commands="reload" command="/usr/bin/haproxy" -pidfile="/var/run/${SVCNAME}.pid" +pidfile="/run/${SVCNAME}.pid" if [ -z "${CONFFILE}" -a -d "/etc/haproxy" -a -f "/etc/haproxy/${SVCNAME}.cfg" ]; then CONFFILE=/etc/haproxy/${SVCNAME}.cfg |
