mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			342 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			342 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #!/sbin/runscript
 | |
| 
 | |
| depend()
 | |
| {
 | |
|     need net
 | |
| }
 | |
| 
 | |
| start()
 | |
| {
 | |
|     ebegin "Starting AjaxTerm on port $PORT"
 | |
|     start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON -- --daemon --port=$PORT --uid=nobody
 | |
|     eend $?
 | |
| }
 | |
| 
 | |
| stop()
 | |
| {
 | |
|     ebegin "Stopping AjaxTerm"
 | |
|     start-stop-daemon  --stop --pidfile $PIDFILE 
 | |
|     rm -f $PIDFILE 
 | |
|     eend $?
 | |
| }
 |