Hi Brian,

If you use a glob pattern in FILE, the way to determine the name of the
matching file in the job is via the MATCH variable:

start on file FILE=/var/crash/*.crash EVENT=create

exec echo "matching file was $MATCH"

** Changed in: upstart
       Status: New => Invalid

** Changed in: upstart (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1199499

Title:
  upstart file bridge sets FILE to glob pattern instead of specific file

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1199499/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to