mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| name="bitlbee"
 | |
| description="bitlbee irc service"
 | |
| supervisor=supervise-daemon
 | |
| BITLBEE_USER=${BITLBEE_USER:-bitlbee}
 | |
| LOGS=/var/log/bitlbee.log
 | |
| supervise_daemon_args="-1 $LOGS -2 $LOGS"
 | |
| command="/usr/bin/bitlbee"
 | |
| command_args="-n"
 | |
| command_user="$BITLBEE_USER:$BITLBEE_USER"
 | |
| 
 | |
| depend() {
 | |
| 	need net
 | |
| 	after firewall
 | |
| }
 | |
| 
 | |
| start_pre() {
 | |
| 	checkpath -f "$LOGS" -m 644 -o "$BITLBEE_USER:$BITLBEE_USER"
 | |
| }
 |