diff options
Diffstat (limited to 'games-server/ut2004-ded/files')
-rw-r--r-- | games-server/ut2004-ded/files/ut2004-ded.confd | 6 | ||||
-rw-r--r-- | games-server/ut2004-ded/files/ut2004-ded.initd | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/games-server/ut2004-ded/files/ut2004-ded.confd b/games-server/ut2004-ded/files/ut2004-ded.confd new file mode 100644 index 000000000000..e82238b93de0 --- /dev/null +++ b/games-server/ut2004-ded/files/ut2004-ded.confd @@ -0,0 +1,6 @@ +# User and group the server should run as. +ut2004_ded_user="nobody" +ut2004_ded_group="nobody" + +# Any extra options you want to pass to the server. +ut2004_ded_opts="DM-Deck17" diff --git a/games-server/ut2004-ded/files/ut2004-ded.initd b/games-server/ut2004-ded/files/ut2004-ded.initd new file mode 100644 index 000000000000..c4cf9810cd15 --- /dev/null +++ b/games-server/ut2004-ded/files/ut2004-ded.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/var/run/${RC_SVCNAME}.pid" +command_background="true" +command_user="${ut2004_ded_user}:${ut2004_ded_group}" +command="ut2004-ded" +command_args="${ut2004_ded_opts}" + +depend() { + need net +} |