Skip to content

Commit f48cc6f

Browse files
dgibbs64gitbook-bot
authored andcommitted
GITBOOK-359: change request with no subject merged in GitBook
1 parent 626356e commit f48cc6f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

commands/start-stop-restart.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# start-stop-restart
22

3-
LinuxGSM provides an easy way to start, stop and restart your game server. LinuxGSM knows the location of the server binaries inserts the start parameters to allow the server to start. LinuxGSM will also run various checks to prevent issues and apply any required server fixes to get the game server running.
3+
LinuxGSM provides an easy way to start, stop and restart your game server. LinuxGSM knows the location of the server binaries and inserts the start parameters to allow the server to start. LinuxGSM will also run various checks to prevent issues and apply any required server fixes to get the game server running.
44

55
## Commands
66

@@ -12,13 +12,20 @@ Will start the server in a [tmux](../requirements/tmux.md) session allowing the
1212

1313
### Stopping a server
1414

15-
Stop will attempt a [graceful shutdown](../features/stop-mode.md) of a game server. Failing this it will kill the tmux session.
15+
Stop will attempt a [graceful shutdown](../features/stop-mode.md) of a game server. Failing this stop will kill the tmux session.
1616

1717
`./gameserver stop`
1818

19+
#### Stop only if empty (optional)
20+
21+
If `stoponlyifnoplayers` setting is enabled LinuxGSM will only stop the server if it is empty and prevent it from stopping otherwise. This feature only works with game servers that can use gamedig.
22+
23+
```properties
24+
stoponlyifnoplayers="off"
25+
```
26+
1927
### Restarting a server
2028

21-
Will simply stop, then the start the server.
29+
Will simply stop, and then start the server.
2230

2331
`./gameserver restart`
24-

0 commit comments

Comments
 (0)