forked from Lainports/freebsd-ports
Fix issues when calling teamspeak_flags.
When calling teamspeak_flags prior to this commit, flags would be appended to the daemon command. After this commit, it will be appended to the teamspeak command as one would expect. Reported by: Oliver Lehmann <lehmann@ans^>
This commit is contained in:
parent
9eab30f2fb
commit
b4630e9b32
2 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= teamspeak3-server
|
||||
PORTVERSION= 3.9.1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= audio net
|
||||
MASTER_SITES= https://files.teamspeak-services.com/releases/server/${PORTVERSION}/
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@ load_rc_config $name
|
|||
: ${teamspeak_db_dir:="%%DBDIR%%"}
|
||||
: ${teamspeak_log_dir:="%%LOGDIR%%"}
|
||||
|
||||
# Add flags var so it isn't called in daemon
|
||||
flags=" "
|
||||
procname=%%PREFIX%%/libexec/ts3server
|
||||
command=/usr/sbin/daemon
|
||||
command_args="-fp "$teamspeak_pidfile" -u teamspeak %%PREFIX%%/libexec/ts3server dbsqlpath=%%PREFIX%%/share/teamspeak/server/sql/ inifile=%%PREFIX%%/etc/teamspeak/ts3server.ini licensepath=%%PREFIX%%/etc/teamspeak/ logpath="$teamspeak_log_dir" license_accepted=1"
|
||||
command_args="-fp "$teamspeak_pidfile" -u teamspeak %%PREFIX%%/libexec/ts3server dbsqlpath=%%PREFIX%%/share/teamspeak/server/sql/ inifile=%%PREFIX%%/etc/teamspeak/ts3server.ini licensepath=%%PREFIX%%/etc/teamspeak/ logpath="$teamspeak_log_dir" license_accepted=1 $teamspeak_flags"
|
||||
teamspeak_chdir="$teamspeak_db_dir"
|
||||
required_dirs="$teamspeak_db_dir $teamspeak_log_dir"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue