#!/sbin/openrc-run
# 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"

command="/usr/bin/among-sus"
command_args="-p ${AMONG_SUS_PORT:-1234}"
command_user=nobody:nobody
command_background=1
pidfile=/run/among-sus.pid

depend() {
	use net
}
