Commit 7284e37d by Simon chen Committed by Simon Chen

create the init daemon configurations

parent 5358ce0e
# Copyright 2018 edx.org, Inc. or its affiliates. All Rights Reserved.
description "EDX video pipeline ingest service"
author "veda-dev@edx.org"
start on (runlevel [345] and started network)
stop on (runlevel [!345] or stopping network)
respawn
respawn limit 10 60
script
export NEW_RELIC_CONFIG_FILE=/home/ec2-user/edx-video-pipeline/veda_newrelic.ini
export DJANGO_SETTINGS_MODULE='VEDA.settings.production'
export PYTHONPATH='/home/ec2-user/edx-video-pipeline'
exec newrelic-admin run-program /home/ec2-user/edx-video-pipeline/bin/ingest &> /home/ec2-user/logs/ingest.out
end script
# Copyright 2018 edx.org, Inc. or its affiliates. All Rights Reserved.
description "EDX video pipeline youtube callback service"
author "veda-dev@edx.org"
start on (runlevel [345] and started network)
stop on (runlevel [!345] or stopping network)
respawn
respawn limit 10 60
script
export NEW_RELIC_CONFIG_FILE=/home/ec2-user/edx-video-pipeline/veda_newrelic.ini
export DJANGO_SETTINGS_MODULE='VEDA.settings.production'
export PYTHONPATH='/home/ec2-user/edx-video-pipeline'
exec newrelic-admin run-program /home/ec2-user/edx-video-pipeline/bin/youtubecallback &> /home/ec2-user/logs/youtube.out
end script
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment