[Unit] Description=rTorrent SCGI proxy After=network-online.target Wants=network-online.target [Service] Type=simple User=rtproxy Group=rtproxy EnvironmentFile=/etc/rtorrent-scgi-proxy.env ExecStart=/usr/local/bin/rtorrent-scgi-proxy Restart=on-failure RestartSec=2 NoNewPrivileges=yes PrivateTmp=yes ProtectSystem=strict ProtectHome=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectControlGroups=yes MemoryDenyWriteExecute=yes RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 LockPersonality=yes [Install] WantedBy=multi-user.target