mirror of
https://github.com/Expand-sys/mcbot
synced 2025-12-17 07:12:13 +11:00
fix
This commit is contained in:
parent
19e4b481fa
commit
36388eda53
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ module.exports = {
|
|||
if(serverofflinefor == 60 && restarted != 1){
|
||||
channelSend(`server Offline for 60 seconds Restarting`)
|
||||
const killer = spawn("screen", ['-XS', 'minecraft'])
|
||||
const mc = spawn("screen", ['-dmS', 'minecraft', '/bin/bash', `${process.env.SERSTARTLOC}`], {
|
||||
const mc = spawn("screen", ['-dmS', 'minecraft', '/bin/bash', `${process.env.SERSTARTLOC}/ServerStart.sh`], {
|
||||
cwd: `${process.env.SERSTARTLOC}`
|
||||
})
|
||||
restarted = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue