file-event(7) | Miscellaneous Information Manual | file-event(7) |
file - event signalling that a file has changed
file FILE=PATH EVENT=TYPE [MATCH=PATH]
The file event is generated by the startup-file-bridge(8) daemon when a file whose details match the file event condition and environment specified in a job's start on or stop on stanza is modified.
The FILE and EVENT environment variables will be set to the same values as specified by the job. Note that if the job did not specify EVENT this will still be set to one of create, modify or delete depending on what type of file event caused the event to be emitted.
If the job specified a glob pattern in the file part of the FILE environment variable, the event will contain the MATCH environment variable which will be set to the full path of the file that matched the pattern in FILE.
Written by James Hunt <james.hunt@canonical.com>
Report bugs at <https://gitlab.com/chinstrap/startup/issues>
Copyright © 2013 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
startup(5) startup(8) startup-file-bridge(8)
2013-03-11 | startup |