Summary
Autostart service not running on Ubuntu
Steps to reproduce
- Mattermost 3.6.1
- Went through setup here https://docs.mattermost.com/install/install-ubuntu-1604.html
- Got to line "curl http://localhost:8065" successfully, but the response is "invalid curl: (7) Failed to connect to localhost port 8065: Connection refused"
- I can access the server when I run "sudo -u mattermost /.platform", but not via a service!
Expected behavior
I cannot access the Mattermost server when it is run as a service!
Observed behavior
"invalid curl: (7) Failed to connect to localhost port 8065: Connection refused"
sudo systemctl status mattermost.service
* mattermost.service - Mattermost
Loaded: loaded (/lib/systemd/system/mattermost.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) since Sat 2017-01-21 12:01:27 UTC; 4s ago
Process: 2280 ExecStart=/opt/mattermost/bin/platform (code=exited, status=0/SUCCESS)
Main PID: 2280 (code=exited, status=0/SUCCESS)