diff --git a/conf/init/service/teamsyncworker/log/run b/conf/init/service/teamsyncworker/log/run new file mode 100755 index 000000000..c0a47f6b1 --- /dev/null +++ b/conf/init/service/teamsyncworker/log/run @@ -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 diff --git a/conf/init/service/teamsyncworker/run b/conf/init/service/teamsyncworker/run new file mode 100755 index 000000000..9f68ae897 --- /dev/null +++ b/conf/init/service/teamsyncworker/run @@ -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' \ No newline at end of file