Add a placeholder for the trigger file

This commit is contained in:
Hugo Trippaers 2014-07-25 15:35:54 +02:00 committed by wilderrodrigues
parent 7afd50d65a
commit b596be1a82
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/usr/bin/python
import syslog
import sys
# first commandline argument should be the file to process
if ( len(sys.argv) != 2 ):
print "Invalid usage"
sys.exit(1)
json_file = sys.argv[1]
syslog.syslog(sys.argv[0] + " called for file " + json_file)