Merge pull request #27 from a-detiste/testing
add sample systemd system service
This commit is contained in:
		
							
								
								
									
										13
									
								
								systemd/system/qcma.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								systemd/system/qcma.service
									
									
									
									
									
										Normal file
									
								
							@@ -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