From 43f24d445052f597f0894e757ca40979179f8455 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sat, 6 May 2017 19:12:30 -0400 Subject: [PATCH] Added startup script.' --- package.json | 3 --- start_production.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100755 start_production.sh diff --git a/package.json b/package.json index b9ff881..98d07da 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,6 @@ "version": "1.0.0", "description": "Citra bot for Discord", "author": "chris062689 ", - "scripts": { - "start": "node server.js" - }, "preferGlobal": true, "private": true, "subdomain": "citra-emu", diff --git a/start_production.sh b/start_production.sh new file mode 100755 index 0000000..f7a562d --- /dev/null +++ b/start_production.sh @@ -0,0 +1,2 @@ +#!/bin/bash +NODE_ENV=production forever start server.js