[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:
2014-03-18 10:14:18 +01:00
parent f547da4f92
commit f507b0955e
4 changed files with 26 additions and 6 deletions

View File

@@ -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.