Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Turns out its just too early in the day. I wasn't saving the variable beyond setting it. So when I switched terminals it didn't exist. Put it in my bash profile and all is well.


You can use .env file too, or even put it before the command like that:

MO_PORT=8888 ./monitoror

:)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: