skyview/debian/lib/systemd/system/skyview-database-update.service
Ole-Morten Duesund d7e0a8ee68 fix: Update systemd services to use skyview-adsb user consistently
- Change User and Group from 'skyview' to 'skyview-adsb' in service files
- Update ReadWritePaths in database update service accordingly
- Add external data source configuration to example config

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 19:39:23 +02:00

33 lines
No EOL
643 B
Desktop File

[Unit]
Description=SkyView Database Update
Documentation=man:skyview-data(1)
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=skyview-adsb
Group=skyview-adsb
ExecStart=/usr/bin/skyview-data update
StandardOutput=journal
StandardError=journal
# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/skyview-adsb /tmp
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictRealtime=true
RestrictSUIDSGID=true
# Resource limits
MemoryMax=256M
TasksMax=50
TimeoutStartSec=300
[Install]
WantedBy=multi-user.target