mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 18:16:17 +00:00
Update jellyseerr-install.sh
add `jellyseerr.conf`
This commit is contained in:
parent
0d9316ae06
commit
cf6d9bf200
@ -37,6 +37,12 @@ git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr
|
|||||||
cd /opt/jellyseerr
|
cd /opt/jellyseerr
|
||||||
$STD yarn install
|
$STD yarn install
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
|
mkdir -p /etc/jellyseerr/
|
||||||
|
cat <<EOF >/etc/jellyseerr/jellyseerr.conf
|
||||||
|
PORT=5055
|
||||||
|
HOST=0.0.0.0
|
||||||
|
# JELLYFIN_TYPE=emby
|
||||||
|
EOF
|
||||||
msg_ok "Installed Jellyseerr"
|
msg_ok "Installed Jellyseerr"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@ -46,6 +52,8 @@ Description=jellyseerr Service
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
EnvironmentFile=/etc/jellyseerr/jellyseerr.conf
|
||||||
|
Environment=NODE_ENV=production
|
||||||
Type=exec
|
Type=exec
|
||||||
WorkingDirectory=/opt/jellyseerr
|
WorkingDirectory=/opt/jellyseerr
|
||||||
ExecStart=/usr/bin/yarn start
|
ExecStart=/usr/bin/yarn start
|
||||||
|
Loading…
Reference in New Issue
Block a user