Add missing team sync worker service

This commit is contained in:
Joseph Schorr 2017-04-10 20:11:57 -04:00
parent 928b9915ed
commit c22dc5ebae
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 storagereplication

View file

@ -0,0 +1,8 @@
#! /bin/bash
echo 'Starting team synchronization worker'
cd /
venv/bin/python -m workers.teamsyncworker 2>&1
echo 'Team synchronization worker exited'