Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
5267e9db
Commit
5267e9db
authored
Oct 02, 2014
by
e0d
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1603 from edx/e0d/fix-notifier
Fixing process management
parents
0cf0bb15
8efed292
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
playbooks/roles/notifier/tasks/main.yml
+9
-1
playbooks/roles/notifier/templates/edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2
+1
-0
playbooks/roles/notifier/templates/edx/app/supervisor/conf.d/notifier-scheduler.conf.j2
+1
-0
No files found.
playbooks/roles/notifier/tasks/main.yml
View file @
5267e9db
...
...
@@ -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
...
...
playbooks/roles/notifier/templates/edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2
View file @
5267e9db
...
...
@@ -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
...
...
playbooks/roles/notifier/templates/edx/app/supervisor/conf.d/notifier-scheduler.conf.j2
View file @
5267e9db
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment