[media-sound/teamspeak-server-bin] hide another file behind mysql useflag, add untested tsdns unit file for systemd, fix ebegin
This commit is contained in:
@@ -74,13 +74,14 @@ src_install() {
|
||||
# Install the runtime FS layout.
|
||||
insinto /etc/teamspeak3-server
|
||||
doins "${FILESDIR}"/server.conf
|
||||
doins "${FILESDIR}"/ts3db_mysql.ini
|
||||
use mysql && doins "${FILESDIR}"/ts3db_mysql.ini
|
||||
keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||
|
||||
# Install the init script and systemd unit.
|
||||
newinitd "${FILESDIR}"/${PN}.rc teamspeak3-server
|
||||
use tsdns && newinitd "${FILESDIR}/teamspeak-tsdns-server.rc" teamspeak3-tsdns-server
|
||||
systemd_dounit "${FILESDIR}"/systemd/teamspeak3.service
|
||||
use tsdns && systemd_dounit "${FILESDIR}"/systemd/teamspeak3-tsdns-server.service
|
||||
systemd_dotmpfilesd "${FILESDIR}"/systemd/teamspeak3.conf
|
||||
|
||||
# Fix up permissions.
|
||||
|
||||
Reference in New Issue
Block a user