summarylogtreecommitdiffstats
path: root/minidlna.install
diff options
context:
space:
mode:
Diffstat (limited to 'minidlna.install')
-rw-r--r--minidlna.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/minidlna.install b/minidlna.install
new file mode 100644
index 00000000000..8337a5da5a1
--- /dev/null
+++ b/minidlna.install
@@ -0,0 +1,13 @@
+post_install() {
+ systemd-sysusers minidlna.conf
+ systemd-tmpfiles --create minidlna.conf
+ touch var/log/minidlna.log
+ chown minidlna:minidlna var/log/minidlna.log
+}
+
+post_upgrade() {
+ systemd-sysusers minidlna.conf
+ systemd-tmpfiles --create minidlna.conf
+ echo "-- minidlna uses minidlna/minidlna user/group now,"
+ echo "-- needs manual intervention in /var/cache/minidlna and /run/minidlna!"
+}