【发布时间】:2016-11-29 01:29:44
【问题描述】:
这是我的尝试:
start on (filesystem and net-device-up IFACE!=lo and file EVENT=modify FILE="/tmp/bar.txt")
task
script
chdir /tmp
exec echo THIS_CHANGED >> CHANGEDDDDDDDD
end script
但它只运行一次。每当修改/tmp/bar.txt 时如何使其运行?
【问题讨论】:
标签: upstart inotify inotifywait