summaryrefslogtreecommitdiff
path: root/user/transmission/transmission-daemon.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/transmission/transmission-daemon.pre-install')
-rw-r--r--user/transmission/transmission-daemon.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/transmission/transmission-daemon.pre-install b/user/transmission/transmission-daemon.pre-install
new file mode 100644
index 000000000..2e26d48d7
--- /dev/null
+++ b/user/transmission/transmission-daemon.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S transmission 2>/dev/null
+adduser -S -D -h /var/lib/transmission -s /sbin/nologin -G transmission -g transmission transmission 2>/dev/null
+
+exit 0