diff --git a/systemd/system/qcma.service b/systemd/system/qcma.service new file mode 100644 index 0000000..96b9f81 --- /dev/null +++ b/systemd/system/qcma.service @@ -0,0 +1,13 @@ +[Unit] +Description="Qcma daemon" +Documentation=man:qcma_cli(6) +ConditionPathExists=/home/qcma/.config/codestation/qcma.conf + +[Service] +ExecStart=/usr/bin/qcma_cli --verbose +ExecReload=/bin/kill -HUP $MAINPID +User=qcma + +[Install] +Alias=qcma_cli.service +WantedBy=default.target