summaryrefslogtreecommitdiff
path: root/user/apaste/apaste-server.pre-install
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-02-24 08:53:33 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2024-02-24 08:57:44 +0000
commitf6caef65cb23c157fa195a56a648235a8af37531 (patch)
tree1b1d7541270b3f5fb603187e34d7a0aacd2640c6 /user/apaste/apaste-server.pre-install
parentca35fa1a22f117398f176d5ecbb2259aab28ab4c (diff)
downloadpackages-f6caef65cb23c157fa195a56a648235a8af37531.tar.gz
packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.bz2
packages-f6caef65cb23c157fa195a56a648235a8af37531.tar.xz
packages-f6caef65cb23c157fa195a56a648235a8af37531.zip
user/apaste: new package
Diffstat (limited to 'user/apaste/apaste-server.pre-install')
-rw-r--r--user/apaste/apaste-server.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/apaste/apaste-server.pre-install b/user/apaste/apaste-server.pre-install
new file mode 100644
index 000000000..32782d21f
--- /dev/null
+++ b/user/apaste/apaste-server.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S apasted 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apastedlog apastedlog 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apasted apasted 2>/dev/null
+
+exit 0