summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-12-17 12:05:49 -0800
committerCorey Hulen <corey@hulen.com>2015-12-17 12:05:49 -0800
commit40a1e81f883f096d013fb4cbffbd899e3ea2231f (patch)
treebe81687c858eabd337fd028ea113c9d0e388cbef /doc
parent19a6481e97f1355446b2a9901a22ab5172b104b8 (diff)
parentc144ecc5265b7eb4b29821b0d54636807db8399c (diff)
downloadchat-40a1e81f883f096d013fb4cbffbd899e3ea2231f.tar.gz
chat-40a1e81f883f096d013fb4cbffbd899e3ea2231f.tar.bz2
chat-40a1e81f883f096d013fb4cbffbd899e3ea2231f.zip
Merge pull request #1748 from mattermost/rhel-fix
Rhel fix
Diffstat (limited to 'doc')
-rw-r--r--doc/install/Production-RHEL.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/install/Production-RHEL.md b/doc/install/Production-RHEL.md
index 7d3a1b9ca..7851350a9 100644
--- a/doc/install/Production-RHEL.md
+++ b/doc/install/Production-RHEL.md
@@ -79,7 +79,6 @@
* ``` sudo touch /etc/systemd/system/mattermost.service```
* ``` sudo vi /etc/systemd/system/mattermost.service```
* Copy the following lines into `/etc/systemd/system/mattermost.service`
- *
```
[Unit]
Description=Mattermost
@@ -93,11 +92,13 @@ ExecStart=/opt/mattermost/bin/platform
PIDFile=/var/spool/mattermost/pid/master.pid
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target
```
* Make sure the service is executable with ``` sudo chmod 664 /etc/systemd/system/mattermost.service```
* Reload the services with `sudo systemctl daemon-reload`
- * Start Mattermost Service with `sudo systemctl start mattermost.service`
+ * Start Mattermost service with `sudo systemctl start mattermost.service`
+ * `sudo chkconfig mattermost on`
+ * Start server on reboot `sudo systemctl enable mattermost.service`
## Set up Nginx Server