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

start() {
	ebegin "Starting heyu"
	mkdir /var/tmp/heyu 2>/dev/null
	chmod a=rwx /var/tmp/heyu
	/usr/bin/heyu start >/dev/null
	eend $?
}

stop() {
	ebegin "Stopping heyu"
	/usr/bin/heyu stop
	eend $?
}

restart() {
	svc_stop
	sleep 5
	svc_start
}