description "Test Upstart"
start on file FILE=/home/ubuntu/Desktop/test/ EVENT=create
stop on runlevel [!2345]
script
exec /bin/echo -e "<- upstart\t"$(date) >> /home/ubuntu/Desktop/out.txt
end script
Problem:
If 'EVENT=create' is set - as referenced in the manpage of the upstart-file-bridge - the above script doesn't fire as expected. If I remove the event specification and the script reacts to all file events, ~/Desktop/out.txt gets a new line. Only 'EVENT=modify' seems to work.
Further:
'EVENT=delete' doesn't work too. If I did no mistake, than its a separate bug ticket.
Note:
The upstart cookbook's upstart-file-bridge example calls the create event not 'EVENT=create' like in the man page, but 'EVENT=created'. Both versions doesn't work.
PS: I'm a Upstart newbie, so maybe I just did something wrong.
description "Test Upstart" ubuntu/ Desktop/ test/ EVENT=create Desktop/ out.txt
start on file FILE=/home/
stop on runlevel [!2345]
script
exec /bin/echo -e "<- upstart\t"$(date) >> /home/ubuntu/
end script
Problem:
If 'EVENT=create' is set - as referenced in the manpage of the upstart-file-bridge - the above script doesn't fire as expected. If I remove the event specification and the script reacts to all file events, ~/Desktop/out.txt gets a new line. Only 'EVENT=modify' seems to work.
Further:
'EVENT=delete' doesn't work too. If I did no mistake, than its a separate bug ticket.
Note:
The upstart cookbook's upstart-file-bridge example calls the create event not 'EVENT=create' like in the man page, but 'EVENT=created'. Both versions doesn't work.
PS: I'm a Upstart newbie, so maybe I just did something wrong.
ProblemType: Bug ature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7 juju.agent. ubuntu. local.override: manual juju.db. ubuntu. local.override: manual lxc.override: manual /boot/vmlinuz- 3.11.0- 4-generic root=UUID= a3401a0f- 92c7-487c- 9ccc-c61995aead 71 ro quiet splash vt.handoff=7 conffile. .etc.at. deny: [inaccessible: [Errno 13] Permission denied: '/etc/at.deny'] conffile. .etc.default. whoopsie: [modified] .etc.default. whoopsie: 2013-08- 27T23:37: 38.837038
DistroRelease: Ubuntu 13.10
Package: upstart 1.10-0ubuntu1
ProcVersionSign
Uname: Linux 3.11.0-4-generic x86_64
.etc.init.
.etc.init.
.etc.init.
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Fri Sep 6 00:08:28 2013
InstallationDate: Installed on 2013-08-27 (9 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130827)
MarkForUpload: True
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
modified.
modified.
mtime.conffile.