tylerflint | anyone awake? | 06:07 |
---|---|---|
tylerflint | I have an executable that doesn't daemonize itself | 06:08 |
tylerflint | so I figured I could use start-stop-daemon | 06:08 |
tylerflint | however, upstart thinks the daemon is dead when it is quite alive | 06:09 |
tylerflint | I'm assuming it's because upstart doesn't know about the pidfile | 06:09 |
ion | Why do you want it to daemonize itself? | 06:23 |
ion | Pid files are a *very* unreliable way to keep track of processes, Upstart ignores such things. | 06:24 |
tylerflint | I see | 06:29 |
tylerflint | I only want it to daemonize so that it won't block the upstart process | 06:30 |
tylerflint | unless I am misunderstanding how upstart works | 06:30 |
ion | It definitely won’t block Upstart. | 06:31 |
tylerflint | interesting | 06:31 |
ion | “exec program-that-doesnt-daemonize” is the most trivial case of running a service. | 06:32 |
tylerflint | wow | 06:32 |
tylerflint | I guess I was making this way too complicated | 06:32 |
tylerflint | if I use env FOO="bar" | 06:36 |
tylerflint | will FOO be accessible by my program? | 06:36 |
tylerflint | just as export FOO="bar" in a shell? | 06:37 |
ion | yeah | 06:48 |
ion | The cookbook has some examples. | 06:50 |
tylerflint | thanks | 06:51 |
tylerflint | I think I | 06:51 |
tylerflint | 've got something that will work | 06:51 |
tylerflint | seems really clean | 06:51 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!