Skip to content

Commit

Permalink
bug 1148310 - always try to restart socorro apps
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmer committed Mar 27, 2015
1 parent ae2f5cf commit e21c05f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/systemd/socorro-collector.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Description=Socorro Collector
WorkingDirectory=/home/socorro
Environment=VENV=/data/socorro/socorro-virtualenv
ExecStart=/bin/bash -c "envconsul -once -upcase=false -prefix socorro/common -prefix socorro/collector $VENV/bin/uwsgi -H $VENV -M --need-app -w wsgi.collector -s /var/run/uwsgi/socorro-collector.sock --chmod-socket=664 --uid=socorro --gid=nginx"
Restart=always

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions config/systemd/socorro-crashmover.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Description=Socorro Crashmover
WorkingDirectory=/home/socorro
Environment=VENV=/data/socorro/socorro-virtualenv
ExecStart=/bin/bash -c "/usr/bin/envconsul -upcase=false -prefix socorro/common -prefix socorro/crashmover $VENV/bin/socorro crashmover"
Restart=always

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions config/systemd/socorro-middleware.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description=Socorro Middleware
[Service]
Environment=VENV=/data/socorro/socorro-virtualenv
ExecStart=/bin/bash -c "envconsul -upcase=false -prefix socorro/common -prefix socorro/middleware $VENV/bin/uwsgi -H $VENV -M --need-app -w wsgi.middleware -s /var/run/uwsgi/socorro-middleware.sock --chmod-socket=664 --uid=socorro --gid=nginx"
Restart=always

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions config/systemd/socorro-processor.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Description=Socorro Processor
WorkingDirectory=/home/socorro
Environment=VENV=/data/socorro/socorro-virtualenv
ExecStart=/bin/bash -c "envconsul -upcase=false -prefix socorro/common -prefix socorro/processor $VENV/bin/socorro processor"
Restart=always

[Install]
WantedBy=multi-user.target
1 change: 1 addition & 0 deletions config/systemd/socorro-webapp.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description=Socorro Webapp
[Service]
Environment=VENV=/data/socorro/socorro-virtualenv
ExecStart=/bin/bash -c "envconsul -upcase=false -prefix socorro/common -prefix socorro/webapp-django $VENV/bin/uwsgi --pythonpath /data/socorro/webapp-django/ -M --need-app -w webapp-django.wsgi.socorro-crashstats -s /var/run/uwsgi/socorro-webapp.sock --chmod-socket=664 --uid=socorro --gid=nginx"
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit e21c05f

Please sign in to comment.