mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
- use correct pidfile for munin-sched rc script [1] - munin-cgi-graph requires FCGI [2] Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr> [1] Sergey V. Dyatko <sergey.dyatko@gmail.com> [2] Feature safe: yes
13 lines
454 B
Text
13 lines
454 B
Text
--- node/sbin/munin-node.orig 2012-11-12 14:10:58.234196646 +0100
|
|
+++ node/sbin/munin-node 2012-11-12 14:11:19.591568597 +0100
|
|
@@ -54,6 +54,10 @@
|
|
$ENV{$key} = $1;
|
|
}
|
|
|
|
+ # plugins run in taint mode because the uid is changed, so the path
|
|
+ # must not contain writable directories.
|
|
+ $ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin:%%PREFIX%%/sbin';
|
|
+
|
|
parse_args();
|
|
|
|
my $config = Munin::Node::Config->instance();
|