mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
parent
b0ba73cf46
commit
1e58847bcd
1 changed files with 14 additions and 8 deletions
|
@ -7,7 +7,7 @@ description: >
|
||||||
The only thing missing is "why they watched it", but who am I to question your 42 plays of Frozen.
|
The only thing missing is "why they watched it", but who am I to question your 42 plays of Frozen.
|
||||||
All statistics are presented in a nice and clean interface with many tables and graphs, which makes it easy to brag about your server to everyone else.
|
All statistics are presented in a nice and clean interface with many tables and graphs, which makes it easy to brag about your server to everyone else.
|
||||||
|
|
||||||
base: core18
|
base: core22
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
architectures:
|
architectures:
|
||||||
|
@ -20,12 +20,18 @@ parts:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: .
|
source: .
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- python3.8
|
- python3
|
||||||
- python3-openssl
|
- python3-openssl
|
||||||
- python3-pycryptodome
|
- python3-pycryptodome
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
|
- python3-pkg-resources
|
||||||
build-packages:
|
build-packages:
|
||||||
- git
|
- git
|
||||||
|
- python3
|
||||||
|
- python3-openssl
|
||||||
|
- python3-pycryptodome
|
||||||
|
- python3-setuptools
|
||||||
|
- python3-pkg-resources
|
||||||
override-pull: |
|
override-pull: |
|
||||||
snapcraftctl pull
|
snapcraftctl pull
|
||||||
git config --global --add safe.directory /data/parts/tautulli/src
|
git config --global --add safe.directory /data/parts/tautulli/src
|
||||||
|
@ -52,15 +58,14 @@ parts:
|
||||||
echo $COMMIT > version.txt
|
echo $COMMIT > version.txt
|
||||||
snapcraftctl set-version "$VERSION"
|
snapcraftctl set-version "$VERSION"
|
||||||
snapcraftctl set-grade "$GRADE"
|
snapcraftctl set-grade "$GRADE"
|
||||||
|
override-prime: |
|
||||||
|
snapcraftctl prime
|
||||||
|
mkdir -p usr/bin
|
||||||
|
ln -s /usr/bin/python3 usr/bin/python3
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
tautulli:
|
tautulli:
|
||||||
command: >
|
command: usr/bin/python3 $SNAP/Tautulli.py --datadir $SNAP_USER_COMMON/Tautulli --config $SNAP_USER_COMMON/Tautulli/config.ini --quiet --nolaunch
|
||||||
usr/bin/python3 $SNAP/Tautulli.py
|
|
||||||
--datadir $SNAP_USER_COMMON/Tautulli
|
|
||||||
--config $SNAP_USER_COMMON/Tautulli/config.ini
|
|
||||||
--quiet
|
|
||||||
--nolaunch
|
|
||||||
daemon: simple
|
daemon: simple
|
||||||
restart-condition: on-abnormal
|
restart-condition: on-abnormal
|
||||||
restart-delay: 5s
|
restart-delay: 5s
|
||||||
|
@ -70,4 +75,5 @@ apps:
|
||||||
- network-bind
|
- network-bind
|
||||||
- removable-media
|
- removable-media
|
||||||
environment:
|
environment:
|
||||||
|
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
|
||||||
TAUTULLI_SNAP: "True"
|
TAUTULLI_SNAP: "True"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue