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]
|
[Unit]
|
||||||
Description=Mattermost
|
Description=Mattermost
|
||||||
After=network.target
|
After=network.target postgresql.service
|
||||||
After=postgresql.service
|
|
||||||
Requires=postgresql.service
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
|
User=__APP__
|
||||||
|
Group=__APP__
|
||||||
ExecStart=__FINALPATH__/bin/mattermost
|
ExecStart=__FINALPATH__/bin/mattermost
|
||||||
TimeoutStartSec=3600
|
TimeoutStartSec=3600
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
RuntimeDirectory=__APP__
|
RuntimeDirectory=__APP__
|
||||||
User=__APP__
|
|
||||||
Group=__APP__
|
|
||||||
LimitNOFILE=49152
|
LimitNOFILE=49152
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
|
|
Loading…
Add table
Reference in a new issue