Upgraded to 3.9 on Debian 8.4 Jessie, no PID-file created

I’ve upgraded from 3.6 to 3.9, everything is working allright, the mattermost is accessible and useable, but there is no PID file created. I am using the /etc/init.d/mattermost file, taken from the installation instructions, which says the PID file should be at /var/run/mattermost.pid .
The problem is, the file is not created. I am using “monit” to monitor and restart the daemon, if it fails, but this depends on the PID file. The PID file was created with 3.6 but after the update it is not created any more…
What have I done wrong??

Thanks in advance for your help


Hi @codec

Did you follow the guide here when you installed Mattermost? https://docs.mattermost.com/install/prod-debian.html#set-up-mattermost-server