1
0
Fork 0
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:
Rafi59 2018-05-01 16:13:20 +02:00 committed by GitHub
parent 4ce541e24a
commit db85438976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=The Lounge IRC client Description=The Lounge IRC client
After=__APP__.service After=network.target
Type=simple Type=simple
User=__APP__ User=__APP__
@ -9,10 +9,7 @@ WorkingDirectory=__FINALPATH__
ExecStartPre=__NODEJS__ ExecStartPre=__NODEJS__
Environment="PATH=__ENV_PATH__" Environment="PATH=__ENV_PATH__"
ExecStart=__NODE__ index.js start --home /home/yunohost.app/__APP__/ ExecStart=__NODE__ index.js start --home /home/yunohost.app/__APP__/
Restart=on-failure Restart=always
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install] [Install]
WantedBy=default.target WantedBy=default.target