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
  • Loading branch information
jim-p committed Nov 25, 2019
1 parent 375ae1d commit 47f4f91
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions net/pfSense-pkg-haproxy-devel/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= pfSense-pkg-haproxy-devel
PORTVERSION= 0.60
PORTREVISION= 1
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
1 change: 1 addition & 0 deletions net/pfSense-pkg-haproxy/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= pfSense-pkg-haproxy
PORTVERSION= 0.60
PORTREVISION= 1
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 47f4f91

Please sign in to comment.