aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polipo/polipo.initd
blob: 276d9315dc3fc3bb42f647b852534acf5fe1983d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
depend() {
	use net
}

start() {
 	ebegin "Starting polipo"
	start-stop-daemon --start --background --pidfile /var/run/polipo.pid --make-pidfile --exec /usr/bin/polipo
	eend $?
}

stop() {
 	ebegin "Stopping polipo"
	start-stop-daemon --stop --pidfile /var/run/polipo.pid
	eend $?
}