summaryrefslogtreecommitdiff
blob: add7505a0ced572e862c19f0896360efe2c7aa01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	use net
} 

start() {
	ebegin "Starting Ajenti" 
	start-stop-daemon --start --exec /usr/bin/ajenti-panel --pidfile /var/run/ajenti.pid -- --start
	eend $?
}

stop() {
	ebegin "Stopping Ajenti"
	start-stop-daemon --stop --exec /usr/bin/ajenti-panel --pidfile /var/run/ajenti.pid
	eend $?
}