3 ms·
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
by Jeremy1026 7y ago
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.
- alex_d 7y agoYou can use .env file too, or even put it before the command like that: MO_PORT=8888 ./monitoror :)