- 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>
33 lines
No EOL
643 B
Desktop File
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 |