I like to adhere as much as possible to hier(8) for this I would like to request to make the pid file location configurable through an rc variable.
This makes the default as before and overwritable through an rc.conf setting.
Created attachment 201687 [details]
refactoring of rc script to allow configurable pid location
Looks good except for the epoche bump, which should be PORTREVISION.
Will add this to my queue.
A commit references this bug:
Date: Fri Feb 8 20:58:57 UTC 2019
New revision: 492462
* Updated to 3.6.1
* Removed workaround for a fixed bug in previous 11.x release
* Reworked rc script to be more standardized
The rc script now has 3 possible entries that can be changed,
teamspeak_pidfile, teamspeak_db_dir and teamspeak_log_dir.
This will provide a more customizable experience when using
I reworked the rc file in the most recent update which has also added this request.