Browse Source

environment control scripts updated

develop
Rob Colbert 1 year ago
parent
commit
2b359c5b3e
  1. 3
      restart-production
  2. 18
      start-production
  3. 18
      stop-production

3
restart-production

@ -0,0 +1,3 @@
#!/bin/bash
./stop-production
./start-production

18
start-production

@ -1,12 +1,10 @@
#!/bin/bash
#
# WORKERS
#
forever start --killSignal=SIGINT app/workers/reeeper.js
forever start --killSignal=SIGINT app/workers/host-services.js
#
# APP HOSTS
#
forever start --killSignal=SIGINT dtp-libertylinks.js
sudo supervisorctl start \
base-host-services:* \
base-reeeper:* \
base-newsletter:* \
base-newsroom:* \
base-media:* \
base-chat:* \
base:*

18
stop-production

@ -1,12 +1,10 @@
#!/bin/bash
#
# APP HOSTS
#
forever stop dtp-libertylinks.js
#
# WORKERS
#
forever stop app/workers/host-services.js
forever stop app/workers/reeeper.js
sudo supervisorctl stop \
base:*
base-chat:* \
base-media:* \
base-newsroom:* \
base-newsletter:* \
base-reeeper:* \
base-host-services:* \
Loading…
Cancel
Save