blob: f04a2e751e02f4b0de2e188822234b20525cc101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/files/ais.initd,v 1.2 2008/02/14 19:04:19 wschlich Exp $
AISEXEC=/usr/sbin/aisexec
depend() {
need net
use logger dns
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --exec ${AISEXEC}
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --exec ${AISEXEC}
eend $?
}
|