Coder Social home page Coder Social logo

s95rob / serverdemon Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 21 KB

Automated game server manager for low-resource Linux machines

Makefile 3.31% C++ 96.69%
cpp gameserver gameserver-tool gameservers interprocess-communication linux multiprocess multithreading server-administration network-programming

serverdemon's Introduction

ServerDemon

Automated game server manager for low-resource Linux machines. Designed to manage and run multiple game servers on underwhelming hardware, making it possible to rent a low-cost VPS to host concurrently active servers— autonomously.

Features

  • Automatically start and stop server software based on established connections:
    ServerDemon will wait for connections on a specified port, and on receiving connections will hand the port back to the OS and run the server software. This works both ways, if the server software is running and no connections are present, the server software will be shutdown.

Dependencies

Usage

  • Add server configuration files
  • List the filepath of each configuration file in the "include" file
  • Run the makefile to build, then run serverdemon

Server Configuration File Cheat Sheet

Key Value Requirement
SERVER_NAME A name for the server Optional
EXE_PATH Server executable filepath Required
EXE_ARGS Executable arguments to pass to the server Optional
SERVER_ROOT Root directory of the server program Required
PORT Server port number Required
MAX_RAM Maximum memory allowed for server program when multiple servers run concurrently (not yet implemented) Optional

Planned Features

  • Daemonize
  • Memory throttling when running multiple servers
  • Self testing and validation
  • Plan more features

serverdemon's People

Contributors

s95rob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.