File: aminerwrapper.sh

package info (click to toggle)
logdata-anomaly-miner 2.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,008 kB
  • sloc: python: 38,109; sh: 4,569; xml: 833; makefile: 23
file content (29 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash

AMINERDIR=/usr/lib/logdata-anomaly-miner

case "$1" in
	aminer)
		$AMINERDIR/aminer.py ${*:2}
		;;
	aminerremotecontrol)
		$AMINERDIR/aminerremotecontrol.py ${*:2}
		;;
        aminer-persistence)
		$AMINERDIR/aminer-persistence.py ${*:2}
		;;
	supervisor)
		/usr/bin/supervisord
		;;
	mkdocs)
		cd /docs
		make html
		;;
	*)
		echo "Usage: [ aminer | aminerremotecontrol | aminer-persistence | supervisor | mkdocs ] <options>"
		exit 1
		;;
        
esac

exit 0