[Unit] Description=CIS490 episode receiver Documentation=https://maxgit.wg/spectral/CIS490 After=network-online.target Wants=network-online.target [Service] Type=simple User=cis490 Group=cis490 WorkingDirectory=/opt/cis490 ExecStart=/opt/cis490/.venv/bin/python -m receiver --config /etc/cis490/receiver.toml Restart=on-failure RestartSec=5 # Hardening NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/var/lib/cis490 ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true LockPersonality=true RestrictNamespaces=true RestrictRealtime=true SystemCallArchitectures=native [Install] WantedBy=multi-user.target