Hi everyone,
I have installed Mattermost following this instructions http://docs.mattermost.com/install/prod-rhel-6.html
The thing is, when using the upstart job in those instructions, when Mattermost is started, it's running with the user 'root'.
sudo touch /etc/init/mattermost.conf
sudo vi /etc/init/mattermost.confCopy the following lines into /etc/init/mattermost.conf
start on runlevel [2345]
stop on runlevel [016]
respawn
chdir /opt/mattermost
exec bin/platformYou can manage the process by typing:
sudo start mattermost
Is this an expected behaviour?
How do I change the upstart job to run as the user I've created for this purpose? I think it's more secure that way.
Thank you all in advence for your help.