aboutsummaryrefslogtreecommitdiff
path: root/example.conf
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-30 23:33:27 +0200
committerKarel Kočí <cynerd@email.cz>2016-03-30 23:41:15 +0200
commit7c635fe498b2c7d158a44ceaa525fe7317adb079 (patch)
treee1e517a6d1f583668973ee6e82d0e2b3199c66ee /example.conf
parent51278d4ef4aaa5d7b9e497fd333bd4e61f582fc9 (diff)
downloadmcserver-wrapper-7c635fe498b2c7d158a44ceaa525fe7317adb079.tar.gz
mcserver-wrapper-7c635fe498b2c7d158a44ceaa525fe7317adb079.tar.bz2
mcserver-wrapper-7c635fe498b2c7d158a44ceaa525fe7317adb079.zip
Removing configuration files and more
Such small application doesn't requires configuration files. Originally intended for more expansion, but now those features are developed separately. This is not indented as simple SystemD friendly wrapper simple as possible.
Diffstat (limited to 'example.conf')
-rw-r--r--example.conf33
1 files changed, 0 insertions, 33 deletions
diff --git a/example.conf b/example.conf
deleted file mode 100644
index 42e4394..0000000
--- a/example.conf
+++ /dev/null
@@ -1,33 +0,0 @@
-# This is example configuration for mcwrapper
-# Use Python3 syntax to specify configuration.
-##############################################
-# vim: expandtab ft=python ts=4 sw=4 sts=4:
-
-# This is default identifier. It is used if no identifier is provided as
-# argument to mcwrapper. This is specially handy when you have only one
-# identifier to be run all the time.
-# Type: string
-identifier = 'exampleserver'
-
-# Definition of Minecraft server.
-class exampleserver:
- # Directory in which Minecraft server will be executed. It is where its
- # files will be placed
- # Type: string
- directory = 'minecraft-server'
- # Command to start Minecraft server. It is executed in directory specified
- # in option "directory".
- # Suggested is to always append "nogui" no disable graphical interface.
- # Type: string
- command = "java -jar minecraft_server.jar nogui"
- # Directory where wrapper writes files signaling status of server and
- # online players. In default it points to directory in /dev/shm. This
- # means that files are in such case stored only in ram.
- # Type: string
- statusdir = '/dev/shm/mcwrapper-exampleserver'
- # Automatic server shutdown when no player is online. This option defines
- # time in minutes before that happens. It is measured from time of last
- # player leaving server. Set this value to less or equal zero or comment
- # it to disable automatic shutdown.
- # Type: int
- #timeout = 15