summaryrefslogtreecommitdiffstats
path: root/testing/acf2/acf2.initd
blob: f0525c08fdc082fcccd9e7c0968fcf805eb96e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript

# init.d file for acf2
# Copyright (c) 2013 Kaarle Ritvanen

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

depend() {
	need net
	after firewall
}

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