Remove legacy Importarr status UI
Run the service through the FastAPI entrypoint only to avoid split UI paths.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=Importarr manual media importer status UI
|
||||
Description=Importarr manual media importer web UI
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/importarr/importarr.env
|
||||
EnvironmentFile=-/opt/importarr/build.env
|
||||
ExecStart=/opt/importarr/venv/bin/importarr-status
|
||||
ExecStart=/opt/importarr/venv/bin/importarr
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
User=root
|
||||
|
||||
@@ -32,6 +32,8 @@ fi
|
||||
git fetch --prune origin
|
||||
git pull --ff-only
|
||||
"$VENV/bin/pip" install --upgrade "$REPO_DIR"
|
||||
install -m 0644 "$REPO_DIR/deploy/importarr.service" /etc/systemd/system/importarr.service
|
||||
systemctl daemon-reload
|
||||
GIT_SHA="$(git rev-parse --short=12 HEAD 2>/dev/null || printf development)"
|
||||
BUILD_DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
||||
cat > "$PREFIX/build.env" <<EOF
|
||||
|
||||
Reference in New Issue
Block a user