32 lines
1,020 B
Desktop File
32 lines
1,020 B
Desktop File
# GlitchTip Error Tracking - Auto-start on boot
|
|
# =============================================================================
|
|
# Self-hosted Sentry-compatible error tracking.
|
|
# Runs on black (10.0.0.11), VPN-only access at port 8800.
|
|
#
|
|
# Deploy: sudo cp this file to /etc/systemd/system/glitchtip.service
|
|
# sudo systemctl daemon-reload
|
|
# sudo systemctl enable glitchtip
|
|
# =============================================================================
|
|
|
|
[Unit]
|
|
Description=GlitchTip Error Tracking (Sentry-Compatible)
|
|
Documentation=https://glitchtip.com/documentation/install/
|
|
Requires=docker.service
|
|
After=docker.service network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
WorkingDirectory=/bigdisk/glitchtip
|
|
EnvironmentFile=/bigdisk/glitchtip/.env
|
|
|
|
ExecStart=/usr/bin/docker compose up -d
|
|
ExecStop=/usr/bin/docker compose down
|
|
ExecReload=/usr/bin/docker compose up -d --force-recreate
|
|
|
|
TimeoutStartSec=120
|
|
TimeoutStopSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|