fix: update repository URLs to somegit.dev

- Update clone URL in README quick start
- Update install script URLs to Gitea raw format
- Update TYTO_REPO to use somegit.dev domain
- Update systemd service documentation URL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-28 09:04:16 +01:00
parent 98a4e76c05
commit a9347db989
2 changed files with 9 additions and 9 deletions

View File

@@ -3,9 +3,9 @@
# Tyto System Monitor - Installation Script
#
# Usage:
# curl -fsSL https://raw.githubusercontent.com/vikingowl/tyto/main/scripts/install.sh | bash
# curl -fsSL https://somegit.dev/vikingowl/tyto/raw/branch/main/scripts/install.sh | bash
# or
# wget -qO- https://raw.githubusercontent.com/vikingowl/tyto/main/scripts/install.sh | bash
# wget -qO- https://somegit.dev/vikingowl/tyto/raw/branch/main/scripts/install.sh | bash
#
# Environment Variables:
# TYTO_MODE - Installation mode: standalone (default), server, agent
@@ -30,7 +30,7 @@ TYTO_VERSION="${TYTO_VERSION:-latest}"
TYTO_INSTALL_DIR="${TYTO_INSTALL_DIR:-/opt/tyto}"
TYTO_DATA_DIR="${TYTO_DATA_DIR:-/var/lib/tyto}"
TYTO_USER="${TYTO_USER:-tyto}"
TYTO_REPO="vikingowl/tyto"
TYTO_REPO="somegit.dev/vikingowl/tyto"
# Logging functions
log_info() { echo -e "${BLUE}[INFO]${NC} $*"; }
@@ -115,9 +115,9 @@ install_binary() {
local download_url
if [[ "$TYTO_VERSION" == "latest" ]]; then
download_url="https://github.com/${TYTO_REPO}/releases/latest/download/tyto-${OS}-${ARCH}.tar.gz"
download_url="https://${TYTO_REPO}/releases/latest/download/tyto-${OS}-${ARCH}.tar.gz"
else
download_url="https://github.com/${TYTO_REPO}/releases/download/${TYTO_VERSION}/tyto-${OS}-${ARCH}.tar.gz"
download_url="https://${TYTO_REPO}/releases/download/${TYTO_VERSION}/tyto-${OS}-${ARCH}.tar.gz"
fi
log_info "Downloading Tyto from $download_url..."
@@ -208,7 +208,7 @@ create_systemd_service() {
cat > "$service_file" << EOF
[Unit]
Description=Tyto System Monitor
Documentation=https://github.com/vikingowl/tyto
Documentation=https://somegit.dev/vikingowl/tyto
After=network.target
[Service]