Skip to content

Commit a44369f

Browse files
author
Hubert
authored
Moved from Commands and beefed up
1 parent ec5dece commit a44369f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Scripts/setuid/start.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
. .minecraft-library
4+
5+
if [ -f ${NO_RESTART_FILE} ]
6+
then echo "The ${NO_RESTART_FILE} file exists. Remove it if you really want to start."
7+
else if IsServerLoaded
8+
then echo "The server is already loaded!"
9+
else screen -S ${GNUSCREEN_SESSION} -t ${GNUSCREEN_WINDOW} -dm Scripts/setuid/startbukkit.sh
10+
fi
11+
fi

0 commit comments

Comments
 (0)