aboutsummaryrefslogtreecommitdiffstats
path: root/audio/teamspeak_server/files
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2008-10-11 15:10:13 +0800
committerstefan <stefan@FreeBSD.org>2008-10-11 15:10:13 +0800
commit3cc885a4bef0dc478118e6500dfe010e099e1ade (patch)
treeee09d729f1ef92d770c9c24153e228d41d7b1066 /audio/teamspeak_server/files
parent5855d1c1d9e40322d44633598b2e8a56905eea94 (diff)
downloadfreebsd-ports-gnome-3cc885a4bef0dc478118e6500dfe010e099e1ade.tar.gz
freebsd-ports-gnome-3cc885a4bef0dc478118e6500dfe010e099e1ade.tar.zst
freebsd-ports-gnome-3cc885a4bef0dc478118e6500dfe010e099e1ade.zip
Patch the startup script so the server process is run as the teamspeak user by
default, not as root. PR: 126805 Submitted by: Richard Tector <richard@tector.org.uk> Approved by: maintainer
Diffstat (limited to 'audio/teamspeak_server/files')
-rw-r--r--audio/teamspeak_server/files/teamspeak-server.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/teamspeak_server/files/teamspeak-server.in b/audio/teamspeak_server/files/teamspeak-server.in
index 0e740a3b801e..11a614b5b2bd 100644
--- a/audio/teamspeak_server/files/teamspeak-server.in
+++ b/audio/teamspeak_server/files/teamspeak-server.in
@@ -15,6 +15,9 @@
. %%RC_SUBR%%
+# Set some defaults
+teamspeak_user=${teamspeak_user:-"teamspeak"}
+
name=teamspeak
rcvar=${name}_enable