4 # Required-Start: apache2 postgresql
5 # Required-Stop: apache2 postgresql
6 # Default-Start: 2 3 4 5
8 # Short-Description: AIS server
9 # Description: Start/stop the AIS aquisition daemon and the job runner
12 # XXX Server to installed with:
13 # ln -s THISFILE /etc/init.d/ais
14 # update-rc.d ais defaults
18 . /lib/lsb/init-functions
22 sudo -u nirgal python -m ais.inputs.run
23 sudo -u nirgal python -m ais.jobrunner --debug
26 log_success_msg "Not implemented"
30 log_success_msg "Usage: ais.sh {start|stop}"