Mercurial > hg > nodescore
comparison nodescored @ 52:a79555d4ad18
added init.d script
author | root <root@beaglebone.(none)> |
---|---|
date | Sun, 14 Oct 2012 00:25:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
51:ee713a19b6ba | 52:a79555d4ad18 |
---|---|
1 #! /bin/sh | |
2 # /etc/init.d/nodescored | |
3 # | |
4 nodescore | |
5 | |
6 case "$1" in | |
7 start) | |
8 nodescore | |
9 echo "Starting NodeScore " | |
10 ;; | |
11 stop) | |
12 killall node | |
13 echo "Stopping Nodescore" | |
14 ;; | |
15 *) | |
16 echo "Usage: /etc/init.d/nodescored {start|stop}" | |
17 exit 1 | |
18 ;; | |
19 esac | |
20 | |
21 exit 0 | |
22 |