diff options
author | tv <tv@also> | 2011-08-04 01:22:35 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-04 01:22:35 +0200 |
commit | 27f4e6854b8ed1927ed427499e0c5a66f03fb8ca (patch) | |
tree | 8d9904f2b1024b8935052dea3576b78ef0041b03 /streams/stream-starter | |
parent | d40ff510eb0f065c219f6fa420ec7c1dca41c54b (diff) | |
parent | 1d07eb1e34228e5c45bc8f12725cb13e6998bcf5 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'streams/stream-starter')
-rwxr-xr-x | streams/stream-starter | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/streams/stream-starter b/streams/stream-starter new file mode 100755 index 00000000..4d3a406f --- /dev/null +++ b/streams/stream-starter @@ -0,0 +1,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 |