Giter VIP home page Giter VIP logo

morgoth's Introduction


morgoth

A source dedicated server manager

Features

  • Start, stop and show status of any game server with one command
  • Extend functionality by writing plug-ins
  • Access your servers via anna API and ando front-end

Dependencies

  • Qt (>= 5.11)
  • CMake (>= 3.12)
  • systemd
  • DBus

Installation

# Clone this repository
$ git clone https://github.com/melkortf/morgoth

# Create build directory
$ mkdir morgoth/build && cd morgoth/build

# Configure project
$ cmake ..

# Build project
$ make && make test

# Install
$ make install

Configuration

The configuration file is installed in /etc/morgoth.conf. Available options are:

  • dbus specifies which bus should morgoth bind to. Leave it set to system if you wish to use morgoth as a daemon;
  • database defines the location of SQlite database file;
  • user specifies the user that will own all the running game server instances. It is adviced against running source game as a root.

You also need to create the user for the last configuration option:

$ useradd -r -U morgoth

Usage

# Start morgoth daemon
$ systemctl start morgoth

# Add your server installation
$ morgothctl add my-fancy-server /home/tf2/servers/fancy

# Make sure your server is added
$ morgothctl list

# Adjust your server launch arguments
$ morgothctl config my-fancy-server

# Start the server
$ morgothctl start my-fancy-server

# Verify your server started successfully
$ morgothctl status my-fancy-server

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.