You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, not quite sure where to post this so apologies in advance.
I'm trying to setup this script on AWS using Ubuntu but I keep getting the below errors, I'm mainly concerned about the line 27 and 32 related ones.
Anyone got any ideas what I'm doing wrong?
ubuntu@ip-10-246-101-149:~/minecraft-init$ sudo sh /etc/init.d/minecraft start
/etc/init.d/minecraft: 27: /etc/init.d/minecraft: source: not found
/etc/init.d/minecraft: 32: [: unexpected operator
trap: SIGINT: bad trap
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Rogue pidfile found!
/etc/init.d/minecraft: 219: /etc/init.d/minecraft: WORLDNAME[1]=: not found
/etc/init.d/minecraft: 224: /etc/init.d/minecraft: WORLDRAM[1]=false: not found
/etc/init.d/minecraft: 330: /etc/init.d/minecraft: Bad substitution
ubuntu@ip-10-246-101-149:~/minecraft-init$
The text was updated successfully, but these errors were encountered:
Hi, not quite sure where to post this so apologies in advance.
I'm trying to setup this script on AWS using Ubuntu but I keep getting the below errors, I'm mainly concerned about the line 27 and 32 related ones.
Anyone got any ideas what I'm doing wrong?
ubuntu@ip-10-246-101-149:~/minecraft-init$ sudo sh /etc/init.d/minecraft start
/etc/init.d/minecraft: 27: /etc/init.d/minecraft: source: not found
/etc/init.d/minecraft: 32: [: unexpected operator
trap: SIGINT: bad trap
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Rogue pidfile found!
/etc/init.d/minecraft: 219: /etc/init.d/minecraft: WORLDNAME[1]=: not found
/etc/init.d/minecraft: 224: /etc/init.d/minecraft: WORLDRAM[1]=false: not found
/etc/init.d/minecraft: 330: /etc/init.d/minecraft: Bad substitution
ubuntu@ip-10-246-101-149:~/minecraft-init$
The text was updated successfully, but these errors were encountered: