Add missing service def for globalpromstats worker

This commit is contained in:
Joseph Schorr 2016-09-16 16:28:09 -04:00
parent 1571b2867a
commit 7506471a82
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh
# Ensure dependencies start before the logger
sv check syslog-ng > /dev/null || exit 1
# Start the logger
exec logger -i -t globalpromstats

View file

@ -0,0 +1,8 @@
#! /bin/bash
echo 'Starting global prometheus stats worker'
cd /
venv/bin/python -m workers.globalpromstats
echo 'Global prometheus stats exited'