summaryrefslogtreecommitdiffstats
path: root/streams/stream-starter
blob: cfcf91d4552ceeaaa750db7c3bcce9da64157143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash
set -euf
HERE=`readlink -f $(dirname $0)`
STR=$HERE/streams
NAME=`basename $0`
case "$1" in
  start)
    $STR start $NAME
    ;;
  stop)
    $STR stop
    ;;
  restart)
    $STR restart $NAME
    ;;
  *)
    echo "aidsballs"
  ;;
esac