Skip to content

Commit

Permalink
instlal py modules to py sys
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Mar 31, 2022
1 parent fab5d8c commit 9135694
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/root/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ github.sh --install-path "${install_path_nzbnotify}" --github-owner 'caronc' --g
####

# use pip to install requirements for sabnzbd as defined in requirements.txt
pip.sh --install-path "${install_path_sabnzbd}" --log-level 'WARN'
pip.sh --install-path "${install_path_sabnzbd}" --create-virtualenv 'no' --log-level 'WARN'

# use pip to install requirements for nzbnotify as defined in requirements.txt
pip.sh --install-path "${install_path_nzbnotify}" --log-level 'WARN'
pip.sh --install-path "${install_path_nzbnotify}" --create-virtualenv 'no' --log-level 'WARN'

# container perms
####
Expand Down
6 changes: 0 additions & 6 deletions run/nobody/sabnzbd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ if [[ "${sabnzbd_running}" == "false" ]]; then

echo "[info] Attempting to start SABnzbd..."

# change to app install path and activate virtualenv
cd /usr/lib/sabnzbd

# activate virtualenv where requirements have been installed from install.sh
source ./env/bin/activate

# run app (non blocking)
python3 /usr/lib/sabnzbd/SABnzbd.py --daemon --config-file /config --server 0.0.0.0:8080 --https 8090

Expand Down

0 comments on commit 9135694

Please sign in to comment.