add sample systemd system service
this needs manual setup: - creation of un-privilieged user 'qcma' - add config file - systemctl enable & systemctl start
This commit is contained in:
1 parent
1a30cee9c5
commit
610c3f2b52
1 file changed
+13
@@ -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
|
||||||
Reference in new issue
Block a user