mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
Update systemd.service
This commit is contained in:
parent
4ec3135c3d
commit
4ce541e24a
1 changed files with 2 additions and 1 deletions
|
@ -5,9 +5,10 @@ After=__APP__.service
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
WorkingDirectory=__FINALPATH__
|
||||||
ExecStartPre=__NODEJS__
|
ExecStartPre=__NODEJS__
|
||||||
Environment="PATH=__ENV_PATH__"
|
Environment="PATH=__ENV_PATH__"
|
||||||
ExecStart=__FINALPATH__/index.js start --home /home/yunohost.app/__APP__/
|
ExecStart=__NODE__ index.js start --home /home/yunohost.app/__APP__/
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StartLimitInterval=60s
|
StartLimitInterval=60s
|
||||||
|
|
Loading…
Add table
Reference in a new issue