mattermost add missing source files

Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64bebuilder0 2019-03-06 14:23:55 +01:00
parent dd3c88804e
commit f6d063f97f
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# mattermos logs:
/var/log/mattermost/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
copytruncate
}

View File

@ -0,0 +1,13 @@
[Unit]
Description=Mattermost
After=syslog.target network.target postgresql.service mysql.service mariadb.service

[Service]
Type=simple
WorkingDirectory=/var/lib/mattermost
User=mattermost
ExecStart=/usr/bin/mattermost -c /etc/mattermost/config.js
PIDFile=/var/run/mattermost/master.pid

[Install]
WantedBy=multi-user.target