/srv/irclogs.ubuntu.com/2011/10/21/#upstart.txt

tylerflintanyone awake?06:07
tylerflintI have an executable that doesn't daemonize itself06:08
tylerflintso I figured I could use start-stop-daemon06:08
tylerflinthowever, upstart thinks the daemon is dead when it is quite alive06:09
tylerflintI'm assuming it's because upstart doesn't know about the pidfile06:09
ionWhy do you want it to daemonize itself?06:23
ionPid files are a *very* unreliable way to keep track of processes, Upstart ignores such things.06:24
tylerflintI see06:29
tylerflintI only want it to daemonize so that it won't block the upstart process06:30
tylerflintunless I am misunderstanding how upstart works06:30
ionIt definitely won’t block Upstart.06:31
tylerflintinteresting06:31
ion“exec program-that-doesnt-daemonize” is the most trivial case of running a service.06:32
tylerflintwow06:32
tylerflintI guess I was making this way too complicated06:32
tylerflintif I use env FOO="bar"06:36
tylerflintwill FOO be accessible by my program?06:36
tylerflintjust as export FOO="bar" in a shell?06:37
ionyeah06:48
ionThe cookbook has some examples.06:50
tylerflintthanks06:51
tylerflintI think I06:51
tylerflint've got something that will work06:51
tylerflintseems really clean06:51

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