Browse Source

environment control scripts updated

develop
Rob Colbert 2 years 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 #!/bin/bash
# sudo supervisorctl start \
# WORKERS base-host-services:* \
# base-reeeper:* \
forever start --killSignal=SIGINT app/workers/reeeper.js base-newsletter:* \
forever start --killSignal=SIGINT app/workers/host-services.js base-newsroom:* \
base-media:* \
# base-chat:* \
# APP HOSTS base:*
#
forever start --killSignal=SIGINT dtp-libertylinks.js

18
stop-production

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