[10:28] <eran_> hey folks, I need to run an upstart script that first parses a file, then load environment and then run an application as a non-root user.
[10:29] <eran_> is it possible to let upstart track the pid of that specific user?
[10:29] <eran_> what I currently have is: script --> parse file --> load env --> run application -- end script
[10:30] <eran_> sorry, it's:
[10:30] <eran_> what I currently have is: script --> parse file --> load env --> run application as a specific user (su - user -c <command>) -- end script
[10:30] <eran_> but then upstart tracks the wrong application pid
[12:35] <AnrDaemon> eran_: Overall, it is a very bad idea to parse anything in upstart job.
[12:36] <AnrDaemon> If you need to customize variables, declare them in job file, and supply an .override with changed values.
[13:03] <eran_> AnrDaemon, what do you mean declare them in job file? and what is .override?
[13:32] <JanC> are you using an antique version of upstart?  (e.g. in an old version of Red Hat?)
[13:35] <AnrDaemon> eran_: Documentation covers that.