From bf5ebf1a5f6cf58cec24f2a1abd64383a9e582e3 Mon Sep 17 00:00:00 2001 From: TrixterTheTux Date: Thu, 17 Aug 2017 18:55:18 +0300 Subject: [PATCH] Fix for #593 Thanks to JGSgamer for helping me to debug this. --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 551fe36..e1c085b 100644 --- a/src/index.js +++ b/src/index.js @@ -113,11 +113,11 @@ Async.auto({ Log.info('Configuring timezone file location...'); Timezone.configure(callback); }], - setup_network: ['check_network', (r, callback) => { + setup_network: ['check_network', 'setup_timezone', (r, callback) => { Log.info('Checking pterodactyl0 interface and setting configuration values.'); Network.interface(callback); }], - start_sftp: ['setup_network', 'setup_timezone', (r, callback) => { + start_sftp: ['setup_network', (r, callback) => { Log.info('Attempting to start SFTP service container...'); SFTP.startService(err => { if (err) return callback(err);