/srv/irclogs.ubuntu.com/2008/10/11/#upstart.txt

o_ceehello! trying to make an upstart script for spawn-fcgi, but ran into a problem.. how can I make sure the socket is chmodded 770, since I have to run the script from the upstart script without daemon mode?10:36
o_ceeif I use daemon mode i can just stick it after it, but then upstart don't know about the status of the task..10:37
o_ceemaybe easier to use port instead of socket10:44
mbieblo_cee: why is the socked chmod 770 if you run the script in daemon mode?10:59
mbieblOr do you chmod manually?11:00
o_ceembiebl: problem is that the socket is 766 or something instead of 77011:00
o_ceeyeah, don't know why spawn-fcgi does that, but i've solved it before by chmodding it afterwards11:00
o_ceebut, seems port+addr instead of socket works fine, so i'll use that instad11:00
mbieblo_cee: well, that you can do with a post-start script11:00
o_ceeyeah, but the it wouldn't be all upstart, right?11:01
o_cee(never done any of these things before heh)11:01
o_ceeah post-start, yeah, but it seemed to get reset when spawn-fcgi is run? couldn't get it to stick.. either way, port mode works just as fine i think11:03
voroskoihi14:58
sadmacion_: ping23:20

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