aboutsummaryrefslogtreecommitdiffstats
path: root/main/taskd/taskd.pre-install
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2017-03-05 18:36:10 +0800
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-07 10:23:38 +0000
commitc6fe45df0377fd1c5085ddb283a26d4b3db4a60e (patch)
tree1594fe5e63da3ad29ad73c85bfc4d0f0fe8cf0af /main/taskd/taskd.pre-install
parent539095178295e48ad605ca4f72ea1a92216e7b1a (diff)
downloadaports-c6fe45df0377fd1c5085ddb283a26d4b3db4a60e.tar.bz2
aports-c6fe45df0377fd1c5085ddb283a26d4b3db4a60e.tar.xz
main/taskd: Add init scripts
Diffstat (limited to 'main/taskd/taskd.pre-install')
-rw-r--r--main/taskd/taskd.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/taskd/taskd.pre-install b/main/taskd/taskd.pre-install
new file mode 100644
index 0000000000..847ccc36d6
--- /dev/null
+++ b/main/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
+