From c7ebbb32dadd72791187734dba65cd1fee93b942 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 3 Jan 2022 16:20:29 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 70c3c85..0f6c708 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,16 +1,14 @@ [Unit] Description=The Lounge IRC client -After=network.target +After=network-online.target +Wants=network-online.target [Service] Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__FINALPATH__/ -Environment="PATH=__ENV_PATH__" Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/" -Environment="NODE_ENV=production" -ExecStart=/usr/bin/yarn start +ExecStart=/usr/bin/thelounge start Restart=on-failure RestartSec=5 StartLimitInterval=60s