mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			463 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			463 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| supervisor=supervise-daemon
 | |
| name=apollo
 | |
| command="/usr/sbin/apollo"
 | |
| pidfile="/run/apollo.pid"
 | |
| extra_started_commands="reload"
 | |
| 
 | |
| depend() {
 | |
|   use logger dns
 | |
|   need net
 | |
|   after coventry
 | |
| }
 | |
| 
 | |
| stop() {
 | |
|   ebegin "Stopping ${RC_SVCNAME}"
 | |
|   start-stop-daemon --signal INT --pidfile "${pidfile}"
 | |
|   eend $? "Failed to stop ${RC_SVCNAME}"
 | |
| }
 | |
| 
 | |
| reload() {
 | |
|   ebegin "Reloading ${RC_SVCNAME}"
 | |
|   start-stop-daemon --signal HUP --pidfile "${pidfile}"
 | |
|   eend $?
 | |
| }
 | |
| 
 |