diff --git a/systemd/zsc-daemon.service b/systemd/zsc-daemon.service new file mode 100644 index 0000000..f14eb31 --- /dev/null +++ b/systemd/zsc-daemon.service @@ -0,0 +1,17 @@ +# Copy it to /etc/system/systemd/ and make executable (chmod +x) + +[Unit] +Description=Zero storage captcha service +After=network.target + +[Service] +Type=idle +User=nobody +# Change path and parameters to actual: +ExecStart=/path/to/zsc-daemon -a 127.0.0.1 -p 7696 -t 4 +# To run on non-GUI system: +Environment=QT_QPA_PLATFORM=offscreen +Restart=on-failure + +[Install] +WantedBy=multi-user.target