games-engines/ioquake3: add user/group for dedicated server USE flag
Signed-off-by: Shin'ya Minazuki <shinyoukai@chaotic.ninja>
This commit is contained in:
parent
8d9992d814
commit
21782e92ea
5 changed files with 47 additions and 3 deletions
13
games-engines/ioquake3/files/ioq3ded.initd-r0
Normal file
13
games-engines/ioquake3/files/ioq3ded.initd-r0
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
command="/usr/bin/ioq3ded"
|
||||
command_background="true"
|
||||
command_user="ioq3ded"
|
||||
directory="/var/lib/ioquake3"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue