From 5182f605ce6b77a62bbc9f8dbc0b812916045453 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Sun, 3 Sep 2023 06:19:24 +0100 Subject: [PATCH] Get rid of now unnecessary run wrapper. --- config.js | 2 +- run.sh | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100755 run.sh diff --git a/config.js b/config.js index 0f74334..58a7712 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ module.exports = { db_conn: { - host : process.argv[2] || "localhost", + host : process.argv[2] || "mysql.service.consul", user : 'instasync', password : 'uequ1hahghahshu2eeD1', database : 'instasync', diff --git a/run.sh b/run.sh deleted file mode 100755 index 68593fc..0000000 --- a/run.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -exec 1>>/home/ppetru/instasync/log -exec 2>&1 - -cd $(dirname $0) -date -node sync.js mysql.service.consul