rename stuff again
This commit is contained in:
parent
0ed9f8b2b7
commit
87872ce36e
@ -52,16 +52,16 @@ src_install() {
|
|||||||
# Install the runtime FS layout.
|
# Install the runtime FS layout.
|
||||||
insinto /etc/teamspeak3-server
|
insinto /etc/teamspeak3-server
|
||||||
doins "${FILESDIR}/server.conf"
|
doins "${FILESDIR}/server.conf"
|
||||||
|
keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||||
newins "${dest}/tsdns/tsdns_settings.ini.sample" tsdns_settings.ini
|
newins "${dest}/tsdns/tsdns_settings.ini.sample" tsdns_settings.ini
|
||||||
dosym "${D}"/etc/teamspeak3-server/tsdns_settings.ini /opt/teamspeak3-server/tsdns/tsdns_settings.ini
|
dosym "${D}"/etc/teamspeak3-server/tsdns_settings.ini /opt/teamspeak3-server/tsdns/tsdns_settings.ini
|
||||||
|
|
||||||
# Install the init script and systemd unit.
|
# Install the init script and systemd unit.
|
||||||
newinitd "${FILESDIR}/${P}.rc" teamspeak3-server
|
newinitd "${FILESDIR}/${PN}.rc" teamspeak3-server
|
||||||
newinitd "${FILESDIR}/teamspeak3-tsdns-server.rc" teamspeak3-tsdns-server
|
newinitd "${FILESDIR}/teamspeak3-tsdns-server.rc" teamspeak3-tsdns-server
|
||||||
systemd_dounit "${FILESDIR}/systemd/teamspeak3.service"
|
systemd_dounit "${FILESDIR}/systemd/teamspeak3.service"
|
||||||
systemd_dotmpfilesd "${FILESDIR}/systemd/teamspeak3.conf"
|
systemd_dotmpfilesd "${FILESDIR}/systemd/teamspeak3.conf"
|
||||||
|
|
||||||
keepdir /{etc,var/{lib,log,run}}/teamspeak3-server
|
|
||||||
# Fix up permissions.
|
# Fix up permissions.
|
||||||
fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
|
fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||||
fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
|
fperms 700 /{etc,var/{lib,log,run}}/teamspeak3-server
|
||||||
|
Loading…
Reference in New Issue
Block a user