Update tautulli deps to python3

This commit is contained in:
kjeld Schouten-Lebbing 2020-07-13 23:58:20 +02:00
parent 53a3eaa742
commit 1f9ff88dc6
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
blueprint: blueprint:
tautulli: tautulli:
pkgs: python2 py27-sqlite3 py27-openssl git pkgs: python37 py37-setuptools py37-sqlite3 py37-openssl py37-pycryptodomex python3 git

View File

@ -1,6 +1,7 @@
#!/usr/local/bin/bash #!/usr/local/bin/bash
# This file contains the install script for Tautulli # This file contains the install script for Tautulli
iocage exec "$1" ln -s /usr/local/bin/python3 /usr/local/bin/python
iocage exec "$1" git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli iocage exec "$1" git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli
iocage exec "$1" "pw user add tautulli -c tautulli -u 109 -d /nonexistent -s /usr/bin/nologin" iocage exec "$1" "pw user add tautulli -c tautulli -u 109 -d /nonexistent -s /usr/bin/nologin"
iocage exec "$1" chown -R tautulli:tautulli /usr/local/share/Tautulli /config iocage exec "$1" chown -R tautulli:tautulli /usr/local/share/Tautulli /config

View File

@ -2,6 +2,7 @@
# This file contains the update script for Tautulli # This file contains the update script for Tautulli
iocage exec "$1" service tautulli stop iocage exec "$1" service tautulli stop
iocage exec "$1" ln -s /usr/local/bin/python3 /usr/local/bin/python
# Tautulli is updated through pkg, this is mostly just a placeholder # Tautulli is updated through pkg, this is mostly just a placeholder
iocage exec "$1" chown -R tautulli:tautulli /usr/local/share/Tautulli /config iocage exec "$1" chown -R tautulli:tautulli /usr/local/share/Tautulli /config
iocage exec "$1" cp /usr/local/share/Tautulli/init-scripts/init.freenas /usr/local/etc/rc.d/tautulli iocage exec "$1" cp /usr/local/share/Tautulli/init-scripts/init.freenas /usr/local/etc/rc.d/tautulli