/srv/irclogs.ubuntu.com/2016/08/15/#upstart.txt

=== JanC is now known as Guest35265
=== JanC_ is now known as JanC
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:28
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 script10:29
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 script10:30
eran_but then upstart tracks the wrong application pid10:30
AnrDaemoneran_: Overall, it is a very bad idea to parse anything in upstart job.12:35
AnrDaemonIf you need to customize variables, declare them in job file, and supply an .override with changed values.12:36
eran_AnrDaemon, what do you mean declare them in job file? and what is .override?13:03
JanCare you using an antique version of upstart?  (e.g. in an old version of Red Hat?)13:32
AnrDaemoneran_: Documentation covers that.13:35
=== supergonkas is now known as medusa2irc
=== medusa2irc is now known as supergonkas

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!