diff --git a/main.js b/main.js index f595085..6170030 100644 --- a/main.js +++ b/main.js @@ -59,7 +59,7 @@ if (appConfig.killIguanaOnStart) { exec(iguanaGrep, function(error, stdout, stderr) { if (stdout.indexOf('iguana') > -1) { console.log('found another iguana process(es)'); - const pkillCmd = os.platform() === 'win32' ? 'taskkill /f /im iguana.exe' : 'pkill -9 iguana'; + const pkillCmd = os.platform() === 'win32' ? 'taskkill /f /im iguana.exe' : 'pkill -15 iguana'; exec(pkillCmd, function(error, stdout, stderr) { console.log(pkillCmd + ' is issued'); diff --git a/routes/shepherd.js b/routes/shepherd.js index 30a2210..4e2cbfe 100644 --- a/routes/shepherd.js +++ b/routes/shepherd.js @@ -1432,7 +1432,7 @@ shepherd.appInfo = function() { iguanaDir, iguanaBin, komodoDir, - komododBin + komododBin, configLocation: iguanaDir + '/config.json', cacheLocation: iguanaDir + '/shepherd', };