зеркало из https://github.com/microsoft/statsd.git
statsd.upstart: exec to remove parent shell from process list
Changes ps output from: 1234 _statsd sh 1235 _statsd \_ statsd /etc/statsd/localConfig.js to just one second line without intermediate shell process waiting for node.
This commit is contained in:
Родитель
1590bcf56e
Коммит
78bca7bf65
|
@ -24,5 +24,5 @@ end script
|
|||
|
||||
script
|
||||
NODE_BIN=$(which nodejs || which node)
|
||||
$NODE_BIN stats.js /etc/statsd/localConfig.js
|
||||
exec $NODE_BIN stats.js /etc/statsd/localConfig.js
|
||||
end script
|
||||
|
|
Загрузка…
Ссылка в новой задаче