[Unit] Description=Byparr (FlareSolverr-compatible solver) Documentation=https://github.com/ThePhaseless/Byparr After=network-online.target Wants=network-online.target [Service] Type=simple User=byparr Group=byparr WorkingDirectory=/opt/byparr Environment=HOME=/var/lib/byparr Environment=PYTHONDONTWRITEBYTECODE=1 EnvironmentFile=-/etc/byparr/byparr.env ExecStart=/opt/byparr/.venv/bin/python main.py Restart=on-failure RestartSec=5 NoNewPrivileges=yes PrivateTmp=yes ProtectSystem=strict ReadWritePaths=/var/lib/byparr ProtectKernelTunables=yes ProtectKernelModules=yes ProtectControlGroups=yes RestrictSUIDSGID=yes LockPersonality=yes [Install] WantedBy=multi-user.target