summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-12-17 12:03:02 -0800
committer=Corey Hulen <corey@hulen.com>2015-12-17 12:03:02 -0800
commitd21b5439684feb31c241df33aab99ad6250aa618 (patch)
treec6a66d27c9598911814b1e017fbf6fe1d6f28aff /doc
parent08f330de2f9e2412107a466b54cbc2df2ab6c741 (diff)
downloadchat-d21b5439684feb31c241df33aab99ad6250aa618.tar.gz
chat-d21b5439684feb31c241df33aab99ad6250aa618.tar.bz2
chat-d21b5439684feb31c241df33aab99ad6250aa618.zip
fixing some steps
Diffstat (limited to 'doc')
-rw-r--r--doc/install/Production-RHEL.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/install/Production-RHEL.md b/doc/install/Production-RHEL.md
index a7b34691b..8e9c493b6 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`
+ * `sudo chkconfig mattermost on`
+ * Start server on reboot `sudo systemctl enable mattermost.service`
## Set up Nginx Server