]> git.pld-linux.org Git - packages/netdata.git/blob - nodejs.patch
a2f6ae12293a671901155b09ba52ee4cae6efe43
[packages/netdata.git] / nodejs.patch
1 --- netdata-1.6.0/plugins.d/node.d.plugin.orig  2017-04-17 17:56:37.618423579 +0200
2 +++ netdata-1.6.0/plugins.d/node.d.plugin       2017-04-17 17:57:47.213302270 +0200
3 @@ -1,12 +1,5 @@
4 -#!/usr/bin/env bash
5 -':' //; exec "$(command -v nodejs || command -v node || command -v js || echo "ERROR node.js IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@"
6 -
7 -// shebang hack from:
8 -// http://unix.stackexchange.com/questions/65235/universal-node-js-shebang
9 -
10 -// Initially this is run as a shell script (#!/bin/sh).
11 -// Then, the second line, finds nodejs or node or js in the system path
12 -// and executes it with the shell parameters.
13 +#!/usr/bin/node
14 +// vim:ft=javascript
15  
16  // netdata
17  // real-time performance and health monitoring, done right!
This page took 0.086056 seconds and 3 git commands to generate.