aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server/among-sus/files/among-sus.initd')
-rw-r--r--games-server/among-sus/files/among-sus.initd8
1 files changed, 3 insertions, 5 deletions
diff --git a/games-server/among-sus/files/among-sus.initd b/games-server/among-sus/files/among-sus.initd
index 14886c2b5c..3b84b86350 100644
--- a/games-server/among-sus/files/among-sus.initd
+++ b/games-server/among-sus/files/among-sus.initd
@@ -1,18 +1,16 @@
#!/sbin/openrc-run
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="among-sus server"
description="Among Us, but it's a text adventure"
-AMOGUS_PORT=${AMOGUS_PORT:-1234}
-
command="/usr/bin/among-sus"
-command_args="-p ${AMOGUS_PORT}"
+command_args="-p ${AMONG_SUS_PORT:-1234}"
command_user=nobody:nobody
command_background=1
pidfile=/run/among-sus.pid
depend() {
- need net
+ use net
}