From cf6d9bf20078b836da7ff14ee168dc3e1761b193 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 3 Aug 2023 19:54:48 -0400 Subject: [PATCH] Update jellyseerr-install.sh add `jellyseerr.conf` --- install/jellyseerr-install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install/jellyseerr-install.sh b/install/jellyseerr-install.sh index c5b5e646..15711368 100644 --- a/install/jellyseerr-install.sh +++ b/install/jellyseerr-install.sh @@ -37,6 +37,12 @@ git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr cd /opt/jellyseerr $STD yarn install $STD yarn build +mkdir -p /etc/jellyseerr/ +cat </etc/jellyseerr/jellyseerr.conf +PORT=5055 +HOST=0.0.0.0 +# JELLYFIN_TYPE=emby +EOF msg_ok "Installed Jellyseerr" msg_info "Creating Service" @@ -46,6 +52,8 @@ Description=jellyseerr Service After=network.target [Service] +EnvironmentFile=/etc/jellyseerr/jellyseerr.conf +Environment=NODE_ENV=production Type=exec WorkingDirectory=/opt/jellyseerr ExecStart=/usr/bin/yarn start