Commit 5267e9db by e0d

Merge pull request #1603 from edx/e0d/fix-notifier

Fixing process management
parents 0cf0bb15 8efed292
......@@ -90,7 +90,15 @@
file:
path="{{ NOTIFIER_HOME }}/.ssh" mode=2700 state=directory owner={{ NOTIFIER_USER }} group={{ NOTIFIER_USER }}
- name: create service log dir
file: >
path="{{ item }}"
state=directory
owner="syslog"
group="syslog"
with_items:
- "{{ COMMON_LOG_DIR }}/notifier"
- name: write supervisord wrapper for celery workers
template: >
src=notifier-celery-workers-supervisor.sh.j2
......
......@@ -7,6 +7,7 @@ command={{ NOTIFIER_HOME }}/notifier-celery-workers-supervisor.sh
process_name=%(program_name)s
numprocs=1
stopasgroup=true
directory={{ NOTIFIER_CODE_DIR }}
umask=022
autostart=true
......
......@@ -7,6 +7,7 @@ command={{ NOTIFIER_HOME }}/notifier-scheduler-supervisor.sh
process_name=%(program_name)s
numprocs=1
stopasgroup=true
directory={{ NOTIFIER_CODE_DIR }}
umask=022
autostart=true
......
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