diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-03-31 22:52:22 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-03-31 22:54:38 +0100 |
commit | 32303459a081de5445c064e4cbffac30fe288d24 (patch) | |
tree | 5089f6c14c2dc7b68f0d220e30d4a0c4777089cc /games-fps/ut2003/files | |
parent | sys-cluster/kubernetes: add 1.17.4 (diff) | |
download | gentoo-32303459a081de5445c064e4cbffac30fe288d24.tar.gz gentoo-32303459a081de5445c064e4cbffac30fe288d24.tar.bz2 gentoo-32303459a081de5445c064e4cbffac30fe288d24.zip |
games-fps/ut2003: Fix SRC_URI, EAPI 7, fix server, align with UT2004
Closes: https://bugs.gentoo.org/715540
Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
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 +} |