conf/init: remove service directory

These are no longer used and have been replaced with the jinja templated
supervisord.conf at conf/supervisord.conf.jnj.
This commit is contained in:
Jimmy Zelinskie 2019-11-20 14:31:24 -05:00
parent 1f420b82f6
commit efcb7a0f3c
60 changed files with 0 additions and 413 deletions

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t blobuploadcleanupworker

View file

@ -1,10 +0,0 @@
#! /bin/bash
echo 'Starting Blob upload cleanup worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.blobuploadcleanupworker.blobuploadcleanupworker 2>&1
echo 'Blob upload cleanup exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t buildlogsarchiver

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting build logs archiver worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.buildlogsarchiver.buildlogsarchiver 2>&1
echo 'Diffs worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t buildmanager

View file

@ -1,11 +0,0 @@
#! /bin/bash
echo 'Starting internal build manager'
# Run the build manager.
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
export PYTHONPATH=$QUAYPATH
exec venv/bin/python -m buildman.builder 2>&1
echo 'Internal build manager exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t chunkcleanupworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting chunk cleanup worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.chunkcleanupworker 2>&1
echo 'Chunk cleanup worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t expiredappspecifictokenworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting Expired app specific token GC worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.expiredappspecifictokenworker 2>&1
echo 'Expired app specific token GC exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t exportactionlogsworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting Export Actions Log worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.exportactionlogsworker 2>&1
echo 'Export Actions Log worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t gcworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting GC worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.gc.gcworker 2>&1
echo 'Repository GC exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t globalpromstats

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting global prometheus stats worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.globalpromstats.globalpromstats
echo 'Global prometheus stats exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t labelbackfillworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting label backfill worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.labelbackfillworker 2>&1
echo 'Repository label backfill exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t logrotateworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting log rotation worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.logrotateworker
echo 'Log rotation worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t namespacegcworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting Namespace GC worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.namespacegcworker 2>&1
echo 'Namespace GC exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t notificationworker

View file

@ -1,10 +0,0 @@
#! /bin/bash
echo 'Starting notification worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.notificationworker.notificationworker
echo 'Notification worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t queuecleanupworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting Queue cleanup worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.queuecleanupworker 2>&1
echo 'Repository Queue cleanup exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t repositoryactioncounter

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting repository action count worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.repositoryactioncounter 2>&1
echo 'Repository action worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t security_notification_worker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting security scanner notification worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.security_notification_worker 2>&1
echo 'Security scanner notification worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t securityworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting security scanner worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.securityworker.securityworker 2>&1
echo 'Security scanner worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t storagereplication

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting storage replication worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.storagereplication 2>&1
echo 'Repository storage replication exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t tagbackfillworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting tag backfill worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.tagbackfillworker 2>&1
echo 'Repository tag backfill exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t teamsyncworker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting team synchronization worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.teamsyncworker.teamsyncworker 2>&1
echo 'Team synchronization worker exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t dnsmasq

View file

@ -1,7 +0,0 @@
#! /bin/bash
echo 'Starting dnsmasq'
/usr/sbin/dnsmasq --no-daemon --user=root --listen-address=127.0.0.1
echo 'dnsmasq'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t gunicorn_registry

View file

@ -1,12 +0,0 @@
#! /bin/bash
echo 'Starting gunicon'
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
DB_CONNECTION_POOLING=${DB_CONNECTION_POOLING:-"true"}
cd ${QUAYDIR:-"/"}
DB_CONNECTION_POOLING=$DB_CONNECTION_POOLING PYTHONPATH=$QUAYPATH nice -n 10 venv/bin/gunicorn -c $QUAYCONF/gunicorn_registry.py registry:application
echo 'Gunicorn exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t gunicorn_secscan

View file

@ -1,11 +0,0 @@
#! /bin/bash
echo 'Starting gunicon'
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/gunicorn -c $QUAYCONF/gunicorn_secscan.py secscan:application
echo 'Gunicorn exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t gunicorn_verbs

View file

@ -1,11 +0,0 @@
#! /bin/bash
echo 'Starting gunicon'
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH nice -n 10 venv/bin/gunicorn -c $QUAYCONF/gunicorn_verbs.py verbs:application
echo 'Gunicorn exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t gunicorn_web

View file

@ -1,11 +0,0 @@
#! /bin/bash
echo 'Starting gunicon'
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/gunicorn -c $QUAYCONF/gunicorn_web.py web:application
echo 'Gunicorn exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t jwtproxy

View file

@ -1,16 +0,0 @@
#! /bin/bash
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
if [ -f $QUAYCONF/jwtproxy_conf.yaml ];
then
echo 'Starting jwtproxy'
/usr/local/bin/jwtproxy --config $QUAYCONF/jwtproxy_conf.yaml
rm /tmp/jwtproxy_secscan.sock
echo 'Jwtproxy exited'
else
sleep 1
fi

View file

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

View file

@ -1,12 +0,0 @@
#! /bin/bash
echo 'Starting memcached'
if [ "$DEBUGLOG" == "true" ]
then
memcached -u memcached -m 64 -vv -l 127.0.0.1 -p 18080
else
memcached -u memcached -m 64 -l 127.0.0.1 -p 18080
fi
echo 'memcached exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t nginx

View file

@ -1,12 +0,0 @@
#! /bin/bash
echo 'Starting nginx'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
/usr/sbin/nginx -c $QUAYCONF/nginx/nginx.conf
echo 'Nginx exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t prometheus-aggregator

View file

@ -1,7 +0,0 @@
#! /bin/bash
echo 'Starting prometheus aggregator'
/usr/local/bin/prometheus-aggregator
echo 'Prometheus aggregator exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t pushgateway

View file

@ -1,7 +0,0 @@
#! /bin/bash
echo 'Starting prometheus pushgateway'
/usr/local/bin/pushgateway
echo 'Prometheus pushgateway exited'

View file

@ -1,4 +0,0 @@
#!/bin/sh
# Start the logger
exec logger -i -t service_key_worker

View file

@ -1,9 +0,0 @@
#! /bin/bash
echo 'Starting service key worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.servicekeyworker.servicekeyworker 2>&1
echo 'Service key worker exited'