[Feature]: Add delay (option?) to RESTART command

Open
#4,836 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
bash, shell
Domain
cli

Research direction

Start by tracing the restart command and how it stops and starts a server. Determine where an optional 10- or 15-second delay belongs, then verify that restart waits before startup and preserves the existing behavior when no delay is requested. The issue provides no file or test location, so repository-wide search is needed.

Written by the indexing model from the issue text.

Description

command: restart distro: Ubuntu type: feature
User story

As an admin, I want the restart command to delay (10/15-sec?) before starting up again so as to allow a 'proper' start-up

Game

No response

Linux distro

Ubuntu 24.04

Command

command: restart

Further information

Might be a 'me' "issue", but my LGSM servers don't always restart 100% proper. Often I'll find the console.log file empty...yet the rolled file continues to grow. Yet, if I STOP the server, give it a few sec. to 'settle down' & start it again, all is fine w/ the world :)

Again, not always, but enough that I now wait to see if the log is valid &, if not, do a stop/wait/start to ensure.

Dominant language
Shell
Stars
4.9k
Forks
866
Avg merge
17h 58m
Merged PRs (30d)
100

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GameServerManagers/LinuxGSM

All issues in GameServerManagers/LinuxGSM

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.