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
6902bee4fd
commit
63639f5a43
1 changed files with 5 additions and 2 deletions
|
@ -2,11 +2,14 @@
|
||||||
Description=The Lounge IRC client
|
Description=The Lounge IRC client
|
||||||
After=__APP__.service
|
After=__APP__.service
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/thelounge start --home /home/yunohost.app/__APP__/
|
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
|
WorkingDirectory=__FINALPATH__
|
||||||
|
ExecStartPre=__NODEJS__
|
||||||
|
Environment="PATH=__ENV_PATH__"
|
||||||
|
ExecStart=__NODE__ index.js start --home /home/yunohost.app/__APP__/
|
||||||
|
Restart=always
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StartLimitInterval=60s
|
StartLimitInterval=60s
|
||||||
|
|
Loading…
Add table
Reference in a new issue