summaryrefslogtreecommitdiff
blob: 18f14dc6f5d430569a429ae490b4f5d846bd0d6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/runscript

INGENUE_PATH="/usr/share/ingenue"

depend() {
	need mysql ntpd
}

start() {
	ebegin "Starting ingenue backend"
	"$INGENUE_PATH/backend/backend.php" -f
	eend $?
}

stop() {
	ebegin "Stopping ingenue backend"
	"$INGENUE_PATH/backend/backend.php" -k
	eend $?
}