diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-12-25 22:07:01 +0100 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2023-12-25 22:07:01 +0100 |
commit | 09f27804ee013b2816330bc567cc0f60c6b43e0d (patch) | |
tree | 682dc68db3aeeabca8795925a8e44669b4e9f3ae /apks/reddit-importer/reddit-importer.pre-install | |
parent | bbfc9e2f8f3dfd7ec856ea28ec08d71484482e5f (diff) | |
download | apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.tar.gz apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.tar.bz2 apkbuilds-09f27804ee013b2816330bc567cc0f60c6b43e0d.zip |
feat: Add reddit-importer
Diffstat (limited to 'apks/reddit-importer/reddit-importer.pre-install')
-rw-r--r-- | apks/reddit-importer/reddit-importer.pre-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apks/reddit-importer/reddit-importer.pre-install b/apks/reddit-importer/reddit-importer.pre-install new file mode 100644 index 0000000..74f1b59 --- /dev/null +++ b/apks/reddit-importer/reddit-importer.pre-install @@ -0,0 +1,9 @@ +#!/bin/sh + +user=www-data +group=www-data + +addgroup -S $group 2>/dev/null +adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null + +exit 0 |