projects
/
swamp-bikeopera:code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updates for splitting up assets and code etc
[swamp-bikeopera:code.git]
/
lib
/
swamp-machine.init
1
#! /bin/sh
2
3
#
4
# Function that starts the daemon/service
5
#
6
do_start()
7
{
8
cd /home/dave/code/src/
9
/home/dave/code/src/swamp >/dev/null &
10
}
11
12
#
13
# Function that stops the daemon/service
14
#
15
do_stop()
16
{
17
killall swamp
18
killall swamp_gpsd
19
killall swamp_playd
20
}
21
22
case "$1" in
23
start)
24
25
do_start
26
;;
27
stop)
28
do_stop
29
;;
30
esac
31
32
: