Screen CentOS 7 Help

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Moxy

Banned
Feedback score
2
Posts
564
Reactions
199
Resources
0
Command I'm using to create the screen:
Code:
screen -S cmcf1 bash -c 'sh run.sh'

Script I''m using:
Code:
#!/bin/sh

while true
do
java -Xms4096M -Xmx4096M -XX:MaxPermSize=128M -jar spigot.jar -o true
sleep 2
done
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/moxy-scam-report.208063/)

sistem21

Feedback score
1
Posts
322
Reactions
26
Resources
0
Code:
screen -S cmcf1 -d -m sh server.sh

Moxy use this ;)

Hope it helps

Code:
screen -r cmcf1
 

Moxy

Banned
Feedback score
2
Posts
564
Reactions
199
Resources
0
Code:
screen -S cmcf1 -d -m sh server.sh

Moxy use this ;)

Hope it helps

Code:
screen -r cmcf1
But as run.sh as the script name? Thats what my script is called.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/moxy-scam-report.208063/)

sistem21

Feedback score
1
Posts
322
Reactions
26
Resources
0
sorry, replace 'server.sh' with your script name
 

Latouth

Troubled on Linux? Ask me!
Supreme
Feedback score
18
Posts
1,213
Reactions
504
Resources
0
If you still need help, add me on skype 'latouth'
 
Status
This thread has been locked.
Top