mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
d10c3cf7b3
This allows for time to execute database migrations, and is in line with the official Mattermost docs.
22 lines
417 B
Desktop File
22 lines
417 B
Desktop File
# This file is managed by the Yunohost Mattermost package,
|
|
# and will be overwritten on upgrade.
|
|
|
|
[Unit]
|
|
Description=Mattermost
|
|
After=network.target
|
|
After=mysql.service
|
|
Requires=mysql.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=__FINALPATH__/bin/platform
|
|
TimeoutStartSec=3600
|
|
Restart=always
|
|
RestartSec=10
|
|
WorkingDirectory=__FINALPATH__
|
|
User=__APP__
|
|
Group=www-data
|
|
LimitNOFILE=49152
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|