MEAS: make sure the pipe is a pipe
This commit is contained in:
parent
be9d9573b8
commit
e2e8c76b70
2 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
|
||||||
if [ ! -p /tmp/json_pipe ] ; then
|
if [ ! -p /tmp/json_pipe ] ; then
|
||||||
|
if [ -f /tmp/json_pipe ] ; then
|
||||||
|
rm -f /tmp/json_pipe
|
||||||
|
fi
|
||||||
mkfifo /tmp/json_pipe
|
mkfifo /tmp/json_pipe
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -363,6 +363,7 @@ schedule { 'repo':
|
||||||
file { '/var/meas/www/meas-web/bts_defs.js':
|
file { '/var/meas/www/meas-web/bts_defs.js':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('rhizo_base/bts_defs.js.erb'),
|
content => template('rhizo_base/bts_defs.js.erb'),
|
||||||
|
require => Vcsrepo['/var/meas'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue