diff options
author | Fusl <root@hallowe.lt> | 2018-02-22 09:52:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-20 14:32:33 +0000 |
commit | 4f49fff3f864b3b55cf9da465de676e4336350bf (patch) | |
tree | f4d7c661a2c68fdb97c44fac8efe9fdef335cc12 /testing/telegraf/telegraf.pre-install | |
parent | b8ea797bc3374e3cd762e284d9e600ff4935b864 (diff) | |
download | aports-4f49fff3f864b3b55cf9da465de676e4336350bf.tar.bz2 aports-4f49fff3f864b3b55cf9da465de676e4336350bf.tar.xz |
testing/telegraf: new aport
Diffstat (limited to 'testing/telegraf/telegraf.pre-install')
-rw-r--r-- | testing/telegraf/telegraf.pre-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/telegraf/telegraf.pre-install b/testing/telegraf/telegraf.pre-install new file mode 100644 index 0000000000..bba27a5a3f --- /dev/null +++ b/testing/telegraf/telegraf.pre-install @@ -0,0 +1,10 @@ +#!/bin/sh + +username=telegraf +groupname="$username" + +addgroup -S "$groupname" 2>/dev/null +adduser -S -D -H -h /var/lib/"$username" -s /sbin/nologin -G "$groupname" \ + -g "$groupname" "$username" 2>/dev/null + +exit 0 |