openbsd-ports/net/librenms/patches/patch-poller-service_py
sthen f566485483 fixup yet another path to the php binary, this time in poller-service.py
and written as "'/usr/bin/env', 'php'" so the existing subst's didn't find it.
2018-09-26 22:51:28 +00:00

15 lines
474 B
Plaintext

$OpenBSD: patch-poller-service_py,v 1.1 2018/09/26 22:51:28 sthen Exp $
Index: poller-service.py
--- poller-service.py.orig
+++ poller-service.py
@@ -98,7 +98,7 @@ class DB:
def get_config_data():
- config_cmd = ['/usr/bin/env', 'php', '%s/config_to_json.php' % install_dir]
+ config_cmd = ['${MODPHP_BIN}', '%s/config_to_json.php' % install_dir]
try:
proc = subprocess.Popen(config_cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
except: