diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-12-01 16:08:29 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-12-01 17:09:27 +0100 |
commit | 179325d5d671a061959f905fc47a5c9a26b32ca9 (patch) | |
tree | feb6402d3629288c5b6b8ba0f441d63ea2bd5757 /main/aria2/aria2-daemon.pre-install | |
parent | 19387b642b974aa981bb9ea7eadbe6394e929687 (diff) | |
download | aports-179325d5d671a061959f905fc47a5c9a26b32ca9.tar.bz2 aports-179325d5d671a061959f905fc47a5c9a26b32ca9.tar.xz |
main/aria2: add subpackage -daemon for running aria2 as a daemon
Diffstat (limited to 'main/aria2/aria2-daemon.pre-install')
-rw-r--r-- | main/aria2/aria2-daemon.pre-install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/aria2/aria2-daemon.pre-install b/main/aria2/aria2-daemon.pre-install new file mode 100644 index 0000000000..c2cb5d2664 --- /dev/null +++ b/main/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 |