nicksloan | I wrote an upstart job that runs a rails app with unicorn. I have setuid deploy in my job configuration. I'm getting an error that '~' cannot be expanded. upstart 1.12. any ideas? | 03:39 |
---|---|---|
soren | nicksloan: Check your environment. Expanding ~ requires $HOME or $USER to be set (typically). Upstart job environments are (intentionally) very clean. | 11:04 |
nicksloan | soren: thanks for the response. I figured that out eventually. Had to manually set $HOME. Probably not the best idea, but it worked | 11:04 |
soren | nicksloan: Nah, a system level daemon like that should probably not rely on $HOME, but you do what you have to do, right? :) | 11:11 |
nicksloan | soren: exactly. | 11:24 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!