aboutsummaryrefslogblamecommitdiffstats
path: root/main/aconf/aconf.initd
blob: 4d0964608fad0b895a731dc5cf290b25e5aaa32e (plain) (tree)
1
2
3
4
5
6
7
                  
 

                                         
 

                        











                                                                
#!/sbin/openrc-run

# init.d file for aconf
# Copyright (c) 2013-2014 Kaarle Ritvanen

name=aconf
command=/usr/sbin/aconfd
pidfile=/var/run/$name.pid

depend() {
	need net
	after firewall
}

stop() {
	ebegin "Stopping $name"
	start-stop-daemon --stop --pidfile $pidfile --signal INT
	eend $?
}