mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			362 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			362 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #!/sbin/runscript
 | |
| depend() {
 | |
|         need net
 | |
| }
 | |
| 
 | |
| start() {
 | |
|         ebegin "Starting tvheadend" 
 | |
|         start-stop-daemon --start \
 | |
|                 --user ${TVHUSER} \
 | |
|                 --exec ${TVHBIN} -- -C -f
 | |
|         eend $?
 | |
| }
 | |
| 
 | |
| stop() {
 | |
|         ebegin "Stopping tvheadend" 
 | |
|         start-stop-daemon --stop --quiet --name tvheadend --signal 2
 | |
|         eend $?
 | |
| }
 |