1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
mattermost_ynh/conf/systemd.service
Pierre de La Morinerie d10c3cf7b3 conf: increase systemd start timeout
This allows for time to execute database migrations, and is in line
with the official Mattermost docs.
2018-03-16 18:37:17 +05:30

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