mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
More compact debug output.
RRDC_USER is not used in the systemd unit file (this isn't how you set an environment variable), so remove it.
This commit is contained in:
@@ -79,7 +79,6 @@ After=network.service
|
|||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/rrdcached.pid
|
PIDFile=/run/rrdcached.pid
|
||||||
ExecStart=/usr/bin/rrdcached -w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -B -R -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/
|
ExecStart=/usr/bin/rrdcached -w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -B -R -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/
|
||||||
RRDC_USER=librenms
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
@@ -189,8 +189,9 @@ function rrdtool($command, $filename, $options, $timeout=1)
|
|||||||
|
|
||||||
if ($debug) {
|
if ($debug) {
|
||||||
print $console_color->convert('RRD[%g'.$cmd."%n] \n");
|
print $console_color->convert('RRD[%g'.$cmd."%n] \n");
|
||||||
echo 'rrdtool output: ';
|
echo 'RRDtool Output: ';
|
||||||
var_dump($output);
|
echo $output[0];
|
||||||
|
echo $output[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
|
|||||||
Reference in New Issue
Block a user