Skip to content

Commit

Permalink
Fix haproxy cron issue, use full path. Fixes #9922
Browse files Browse the repository at this point in the history
(cherry picked from commit 47f4f91)
  • Loading branch information
jim-p committed Nov 25, 2019
1 parent b47b916 commit e8bec3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion net/pfSense-pkg-haproxy-devel/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= pfSense-pkg-haproxy-devel
PORTVERSION= 0.59
PORTREVISION= 20
PORTREVISION= 21
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
Expand Up @@ -407,7 +407,7 @@ global $haproxy_version;
function haproxy_version() {
global $haproxy_version;
if (empty($haproxy_version)) {
$haproxy_version = shell_exec("haproxy -v | head -n 1 | awk '{ print $3 }'");
$haproxy_version = shell_exec("/usr/local/sbin/haproxy -v | head -n 1 | awk '{ print $3 }'");
}
return $haproxy_version;
}
Expand Down
2 changes: 1 addition & 1 deletion net/pfSense-pkg-haproxy/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= pfSense-pkg-haproxy
PORTVERSION= 0.59
PORTREVISION= 19
PORTREVISION= 20
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
Expand Up @@ -407,7 +407,7 @@ global $haproxy_version;
function haproxy_version() {
global $haproxy_version;
if (empty($haproxy_version)) {
$haproxy_version = shell_exec("haproxy -v | head -n 1 | awk '{ print $3 }'");
$haproxy_version = shell_exec("/usr/local/sbin/haproxy -v | head -n 1 | awk '{ print $3 }'");
}
return $haproxy_version;
}
Expand Down

0 comments on commit e8bec3b

Please sign in to comment.