Files
mc-webui/scripts/updater/mc-webui-updater.service
MarekWo df852a1a80 feat: Add remote update capability from web GUI
Adds webhook-based update system that allows triggering updates
directly from the mc-webui menu. Includes:
- Webhook server (updater.py) on port 5050
- Systemd service and install script
- API proxy endpoints for container-to-host communication
- Update modal with progress tracking and auto-reload

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:58:05 +01:00

22 lines
464 B
Desktop File

[Unit]
Description=mc-webui Update Webhook Server
Documentation=https://github.com/MarekWo/mc-webui
After=network.target docker.service
[Service]
Type=simple
User=root
Environment=MCWEBUI_DIR=/home/marek/mc-webui
Environment=UPDATER_TOKEN=
ExecStart=/usr/bin/python3 /home/marek/mc-webui/scripts/updater/updater.py
Restart=always
RestartSec=5
# Security hardening
NoNewPrivileges=false
ProtectSystem=false
ProtectHome=false
[Install]
WantedBy=multi-user.target