summaryrefslogtreecommitdiffstats
path: root/streams/stream-starter
blob: 4d3a406fe91b506f9a8d05d0e00c21139f41a6f4 (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=$(dirname $(readlink -f $0))
STR=$HERE/streams
NAME=`basename $0`
case "$1" in
  start)
    $STR start $NAME
    ;;
  stop)
    $STR stop
    ;;
  restart)
    $STR restart $NAME
    ;;
  *)
    echo "aidsballs"
  ;;
esac