This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# servicename Starts and stops a service | |
# | |
# chkconfig: 345 90 30 | |
# description: Example init script for older node.js application using spark | |
# | |
# processname: servicename | |
### BEGIN INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Processes the files in the incoming directory for query analysis in anemometer | |
# Supply the db user/pass/host | |
import glob, os, shutil, sys | |
from subprocess import Popen | |
db_user = "anemometer" | |
db_pass = "password" |