Update FreeBSD RC script
authoreb041592 <35889760+eb041592@users.noreply.github.com>
Sun, 28 Jan 2018 20:22:06 +0000 (21:22 +0100)
committereb041592 <35889760+eb041592@users.noreply.github.com>
Sun, 28 Jan 2018 21:54:17 +0000 (22:54 +0100)
commit80834b989f8e755e0b7761c924acca3fc571e985
tree20999983a42b50b7d10bde61861af353d462be58
parent88b2aa70c89d7f9ca249b9bdd70f514e94805282
Update FreeBSD RC script

- removed /usr/sbin/daemon's option "-t" (first appeared in FreeBSD 11, leading to an error in previous versions; since the [t]itle defaults to the daemonized invocation anyways, this shouldn't make a difference for FreeBSD 11+)
- removed /usr/sbin/daemon's option "-u" and the respective variable in the script (ympd has to be started as root to be able to bind to port 80)
- allow for additional arguments via ympd_flags="" in rc.conf (which would again allow to drop privileges after binding to the port)
contrib/ympd.freebsd