mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
* chore: bump copyright to 2026 - happy new year * fix * meilisearch fix source url * livebook: fix space * fix source cmd * fix source cmd
55 lines
1.1 KiB
Bash
55 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2026 tteck
|
|
# Author: tteck (tteckster)
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://tautulli.com/
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y git
|
|
msg_ok "Installed Dependencies"
|
|
|
|
PYTHON_VERSION="3.13" setup_uv
|
|
fetch_and_deploy_gh_release "Tautulli" "Tautulli/Tautulli" "tarball"
|
|
|
|
msg_info "Installing Tautulli"
|
|
cd /opt/Tautulli
|
|
uv venv -q
|
|
uv pip install -q -r requirements.txt
|
|
uv pip install -q pyopenssl
|
|
msg_ok "Installed Tautulli"
|
|
|
|
msg_info "Creating Service"
|
|
cat <<EOF >/etc/systemd/system/tautulli.service
|
|
[Unit]
|
|
Description=Tautulli
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/opt/Tautulli/
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
Type=simple
|
|
ExecStart=/opt/Tautulli/.venv/bin/python3 /opt/Tautulli/Tautulli.py
|
|
KillSignal=SIGINT
|
|
TimeoutStopSec=20
|
|
SyslogIdentifier=tautulli
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
EOF
|
|
systemctl enable -q --now tautulli
|
|
msg_ok "Created Service"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|