Don't use /tmp
anlutro opened this issue · comments
Andreas Lutro commented
Using /tmp
to install mon as well as for logs doesn't seem like the best thing to do, the data is going to get lost if the server ever has to reboot. Just put it in /opt
instead.
fpereiro commented
Hi Andreas -- thanks for your contribution!
Regarding installing mon
, /tmp
seems the right place to hold a temporary installation file (that then is deleted as soon as mon is properly installed (rm -rf /tmp/mon
).
Regarding holding the logs in /tmp
, it's definitely bad if you're not storing them somewhere else - I added a clarification to this effect in the Notification section.