Expand the example config file
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@353 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
d5636ad844
commit
71cbbcbd04
|
@ -35,14 +35,21 @@ banner = "/dgl-banner"
|
|||
# shed_user and shed_group if they are specified.
|
||||
|
||||
# shed_user: username to shed privileges to
|
||||
shed_user = "games"
|
||||
#shed_user = "games"
|
||||
# shed_group: group name to shed privileges to
|
||||
shed_group = "games"
|
||||
#shed_group = "games"
|
||||
|
||||
# Preferably, you may use the respective gids/uids. This is for Debian:
|
||||
shed_uid = 5
|
||||
shed_gid = 60
|
||||
|
||||
# The defaults are usually just fine for this. passwd refers to the file
|
||||
# that stores the user database, and lockfile is only used internally by
|
||||
# dgamelaunch.
|
||||
|
||||
passwd = "/dgl-login"
|
||||
lockfile = "/dgl-lock"
|
||||
|
||||
|
||||
|
||||
# Next, we'll define one game's data:
|
||||
|
@ -66,12 +73,6 @@ spooldir = "/var/mail/"
|
|||
# From inside the jail, the default .nethackrc that is copied for new users.
|
||||
# rc_template = "/dgl-default-rcfile"
|
||||
|
||||
# The defaults are usually just fine for this. passwd refers to the file
|
||||
# that stores the user database, and lockfile is only used internally by
|
||||
# dgamelaunch.
|
||||
|
||||
passwd = "/dgl-login"
|
||||
lockfile = "/dgl-lock"
|
||||
|
||||
# From inside the jail, the path to the savefile. %u is replaced by the
|
||||
# decimal representation of shed_uid, %n is replaced by the player's
|
||||
|
@ -82,7 +83,7 @@ savefilefmt = "/var/games/nethack/save/%u%n.gz"
|
|||
|
||||
# make sure the inprogress dir actually exists. default is "inprogress/"
|
||||
# each game you define here must have it's own.
|
||||
inprogressdir = "inprogress/"
|
||||
inprogressdir = "inprogress-nethackstub/"
|
||||
|
||||
|
||||
|
||||
|
@ -105,7 +106,36 @@ rc_template = "/dgl-default-rcfile"
|
|||
# %r == dglroot
|
||||
# %n == user name
|
||||
rc_fmt = "%rrcfiles/%n.nethackrc"
|
||||
passwd = "/dgl-login"
|
||||
lockfile = "/dgl-lock"
|
||||
savefilefmt = "/var/games/nethack/save/%u%n.gz"
|
||||
inprogressdir = "inprogress/"
|
||||
inprogressdir = "inprogress-nethack/"
|
||||
|
||||
|
||||
#
|
||||
# third game
|
||||
#
|
||||
#
|
||||
|
||||
game_num = 2
|
||||
game_path = "/bin/crawl"
|
||||
game_name = "Crawl Stone Soup 0.1.7"
|
||||
|
||||
chdir = "/crawl/"
|
||||
|
||||
game_args = "/bin/crawl"
|
||||
game_args = "-name"
|
||||
game_args = "%n"
|
||||
game_args = "-dir"
|
||||
game_args = "/crawl/"
|
||||
game_args = "-rc"
|
||||
game_args = "%rrcfiles/%n.crawlrc"
|
||||
game_args = "-morgue"
|
||||
game_args = "/crawl/morgues/"
|
||||
game_args = "-macro"
|
||||
game_args = "/crawl/macros/%n.macro"
|
||||
|
||||
|
||||
rc_template = "/dgl-default-rcfile.crawl"
|
||||
rc_fmt = "%rrcfiles/%n.crawlrc"
|
||||
inprogressdir = "inprogress-crawl/"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue