tanepiper | hi, can someone help me with this: https://gist.github.com/2d1703cede3597abd595 | 23:44 |
---|---|---|
tanepiper | if i try start on startup, i get an error that /var isn't mounted | 23:44 |
tanepiper | however if I manually call start quartermaster, the app starts fine | 23:45 |
tanepiper | oh looks like i solved it :) start on mounted; env MOUNTPOINT=/var | 23:51 |
ion | Ubuntu? ‘start on filesystem’ | 23:52 |
ion | Such an ‘env’ stanza doesn’t really do anything except set the value of MOUNTPOINT for your scripts. | 23:52 |
ion | HOME is something you could use env for. | 23:53 |
tanepiper | well that's working as well, thanks :) | 23:53 |
ion | ‘start on mounted’ probably never really worked. If it happened to get started at the right time based on it, you were just lucky. :-) | 23:54 |
ion | Also, 2>&1 before 1>… makes stderr go to stdout and stdout go to the logfile. You probably want to make 2 a copy of 1 after 1 has been redirected to a file. | 23:54 |
tanepiper | yea, i started with a copy & paste job for running nodejs but that just wasn't working. I'll definetly read up more on the upstart blog | 23:56 |
tanepiper | so 1> /var/log/foo > &2 ? | 23:58 |
ion | >>/var/log/foo 2>&1 | 23:58 |
tanepiper | gotch | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!