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