mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Update systemd.service
This commit is contained in:
parent
359760f300
commit
7cc2f8842b
1 changed files with 3 additions and 4 deletions
|
@ -1,19 +1,18 @@
|
|||
[Unit]
|
||||
Description=Mattermost
|
||||
After=network.target
|
||||
After=postgresql.service
|
||||
After=network.target postgresql.service
|
||||
Requires=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
ExecStart=__FINALPATH__/bin/mattermost
|
||||
TimeoutStartSec=3600
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=__FINALPATH__
|
||||
RuntimeDirectory=__APP__
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
LimitNOFILE=49152
|
||||
|
||||
# Sandboxing options to harden security
|
||||
|
|
Loading…
Add table
Reference in a new issue