Add missing team sync worker service
This commit is contained in:
parent
928b9915ed
commit
c22dc5ebae
2 changed files with 15 additions and 0 deletions
7
conf/init/service/teamsyncworker/log/run
Executable file
7
conf/init/service/teamsyncworker/log/run
Executable 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
|
8
conf/init/service/teamsyncworker/run
Executable file
8
conf/init/service/teamsyncworker/run
Executable 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'
|
Reference in a new issue