From 1ab1b1bae658a2b773a5ffeb90004f48504c5238 Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 18 Dec 2021 20:08:03 -0500 Subject: [PATCH] production web app management scripts --- start-production | 12 ++++++++++++ stop-production | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 start-production create mode 100755 stop-production diff --git a/start-production b/start-production new file mode 100755 index 0000000..965260a --- /dev/null +++ b/start-production @@ -0,0 +1,12 @@ +#!/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 \ No newline at end of file diff --git a/stop-production b/stop-production new file mode 100755 index 0000000..0b8b404 --- /dev/null +++ b/stop-production @@ -0,0 +1,12 @@ +#!/bin/bash + +# +# APP HOSTS +# +forever stop app/workers/dtp-libertylinks.js + +# +# WORKERS +# +forever stop app/workers/host-services.js +forever stop app/workers/reeeper.js \ No newline at end of file