/srv/irclogs.ubuntu.com/2014/05/28/#upstart.txt

nicksloanI 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
sorennicksloan: Check your environment. Expanding ~ requires $HOME or $USER to be set (typically). Upstart job environments are (intentionally) very clean.11:04
nicksloansoren: thanks for the response. I figured that out eventually. Had to manually set $HOME. Probably not the best idea, but it worked11:04
sorennicksloan: Nah, a system level daemon like that should probably not rely on $HOME, but you do what you have to do, right? :)11:11
nicksloansoren: exactly.11:24

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