summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGalen Sampson2013-09-10 00:42:45 -0700
committerGalen Sampson2013-09-10 00:42:45 -0700
commit508a5742fc5ea34e867d182a9c38c7cb610d0930 (patch)
treedb5e458ffcc6b50cae90ab7e3497678f3c8ab2cc
parent48b88d794b29c561aabd6cda3af146aae086e635 (diff)
downloadaur-508a5742fc5ea34e867d182a9c38c7cb610d0930.tar.gz
Ensure that trafficserver will start immediately after package install.
* The trafficserver daemons require the existence of /run/trafficserver temp directory to run. If we remove the directory from the package something would have to create it before the server processes could successfully start. If systemd is in use systemd-tmpfiles will still successfully create the directory on future reboots due to the configuration file. As such leaving the /run/trafficserver directory in the package makes the most sense.
-rw-r--r--PKGBUILD2
1 files changed, 0 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bc08fbeda8e2..485740a213ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -102,8 +102,6 @@ package()
rm -f "${pkgdir}"/usr/lib/trafficserver/libloader.la
rm -f "${pkgdir}"/usr/lib/trafficserver/header_rewrite.la
- rm -rf "${pkgdir}"/run
-
install -D -m 644 "${srcdir}"/trafficserver.tmpfiles \
"${pkgdir}"/usr/lib/tmpfiles.d/trafficserver.conf