Fix flock wait timeout in crontask
In flock from util-linux 2.23.2 wait timeout cannot be zero Blueprint: master-on-centos7 Compatible with CentOS6 master node Closes-Bug: #1517436 Change-Id: I4280c772df7612576ca44243f097a1622c892290
This commit is contained in:
parent
b56f832abc
commit
a33a58d378
|
@ -1 +1 @@
|
|||
* * * * * root flock -w 0 -o /var/lock/nailgun-agent.lock -c "/usr/bin/nailgun-agent 2>&1 | tee -a /var/log/nailgun-agent.log | /usr/bin/logger -t nailgun-agent"
|
||||
* * * * * root flock -w 1 -o /var/lock/nailgun-agent.lock -c "/usr/bin/nailgun-agent 2>&1 | tee -a /var/log/nailgun-agent.log | /usr/bin/logger -t nailgun-agent"
|
||||
|
|
Loading…
Reference in New Issue