=== 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 script | 10: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 script | 10:30 |
eran_ | but then upstart tracks the wrong application pid | 10:30 |
AnrDaemon | eran_: Overall, it is a very bad idea to parse anything in upstart job. | 12:35 |
AnrDaemon | If 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 |
JanC | are you using an antique version of upstart? (e.g. in an old version of Red Hat?) | 13:32 |
AnrDaemon | eran_: 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!