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