From be8dbcc094e0e43021c2212a951b208f7aa9e5f8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 23 Jun 2024 21:07:40 -0400 Subject: [PATCH] Update jellyseerr-install.sh fix service --- install/jellyseerr-install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install/jellyseerr-install.sh b/install/jellyseerr-install.sh index bac5d94b..5de57a62 100644 --- a/install/jellyseerr-install.sh +++ b/install/jellyseerr-install.sh @@ -53,15 +53,17 @@ msg_ok "Installed Jellyseerr" msg_info "Creating Service" cat </etc/systemd/system/jellyseerr.service [Unit] -Description=jellyseerr Service -After=network.target +Description=Jellyseerr Service +Wants=network-online.target +After=network-online.target [Service] EnvironmentFile=/etc/jellyseerr/jellyseerr.conf Environment=NODE_ENV=production Type=exec +Restart=on-failure WorkingDirectory=/opt/jellyseerr -ExecStart=/usr/bin/yarn start +ExecStart=/usr/bin/node dist/index.js [Install] WantedBy=multi-user.target