summaryrefslogtreecommitdiff
blob: 6e71e8f77f6d97182cdd5e752c61d9b5d2807a53 (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

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 $?
}