Install Importarr from packaged repo build
This commit is contained in:
@@ -30,6 +30,6 @@ fi
|
||||
|
||||
git fetch --prune origin
|
||||
git pull --ff-only
|
||||
"$VENV/bin/pip" install --upgrade --editable "$REPO_DIR"
|
||||
"$VENV/bin/pip" install --upgrade "$REPO_DIR"
|
||||
systemctl restart "$SERVICE"
|
||||
systemctl --no-pager --full status "$SERVICE"
|
||||
|
||||
@@ -15,7 +15,7 @@ fi
|
||||
chown importarr:importarr /var/lib/importarr
|
||||
python3 -m venv /opt/importarr/venv
|
||||
/opt/importarr/venv/bin/pip install --upgrade pip
|
||||
/opt/importarr/venv/bin/pip install --upgrade --editable "$REPO_DIR"
|
||||
/opt/importarr/venv/bin/pip install --upgrade "$REPO_DIR"
|
||||
if [ ! -f /etc/importarr/importarr.env ]; then
|
||||
install -m 0600 "$REPO_DIR/deploy/importarr.env.example" /etc/importarr/importarr.env
|
||||
echo "Created /etc/importarr/importarr.env; edit it before starting the service."
|
||||
|
||||
Reference in New Issue
Block a user