Files
homelab-radio/systemd/sdr-recordings.service

22 lines
405 B
Desktop File

[Unit]
Description=SDR recordings web UI (port 8090)
After=network.target
[Service]
Type=simple
User=sdrweb
Group=sdrweb
SupplementaryGroups=sdr
ExecStart=/usr/bin/python3 -I /opt/pi/sdr/web/server.py
Restart=always
RestartSec=3
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
ReadOnlyPaths=/srv/sdr/recordings
ProtectKernelTunables=yes
ProtectControlGroups=yes
[Install]
WantedBy=multi-user.target