Update tautulli deps to python3
This commit is contained in:
parent
53a3eaa742
commit
1f9ff88dc6
@ -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
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user