summaryrefslogtreecommitdiff
path: root/extra/lighttpd/lighttpd.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lighttpd/lighttpd.install')
-rw-r--r--extra/lighttpd/lighttpd.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/lighttpd/lighttpd.install b/extra/lighttpd/lighttpd.install
new file mode 100644
index 000000000..6b471f633
--- /dev/null
+++ b/extra/lighttpd/lighttpd.install
@@ -0,0 +1,9 @@
+post_install() {
+ if [[ ! -d run/lighttpd ]]; then
+ usr/bin/systemd-tmpfiles --create usr/lib/tmpfiles.d/lighttpd.conf
+ fi
+}
+
+post_upgrade() {
+ post_install
+}