23 lines
402 B
Text
23 lines
402 B
Text
#!/sbin/runscript
|
|
|
|
depend() {
|
|
need net
|
|
after bootmisc
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting Coherence"
|
|
start-stop-daemon --start --exec /usr/bin/coherence \
|
|
--pidfile /var/run/coherence.pid \
|
|
--background \
|
|
-- -c /etc/coherence.conf
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping Coherence"
|
|
start-stop-daemon --stop --exec /usr/bin/coherence \
|
|
--pidfile /var/run/coherence.pid
|
|
eend $?
|
|
}
|
|
|