aboutsummaryrefslogtreecommitdiffstats
path: root/community/taskd/taskd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/taskd/taskd.pre-install')
-rw-r--r--community/taskd/taskd.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/taskd/taskd.pre-install b/community/taskd/taskd.pre-install
new file mode 100644
index 0000000000..847ccc36d6
--- /dev/null
+++ b/community/taskd/taskd.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S taskd 2>/dev/null
+adduser -S -D -h /var/lib/taskd -s /sbin/nologin -G taskd -g taskd taskd 2>/dev/null
+
+exit 0
+