summaryrefslogtreecommitdiff
path: root/skip/apache2/apache2.pre-upgrade
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/apache2/apache2.pre-upgrade
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'skip/apache2/apache2.pre-upgrade')
-rw-r--r--skip/apache2/apache2.pre-upgrade8
1 files changed, 8 insertions, 0 deletions
diff --git a/skip/apache2/apache2.pre-upgrade b/skip/apache2/apache2.pre-upgrade
new file mode 100644
index 0000000..d4ede74
--- /dev/null
+++ b/skip/apache2/apache2.pre-upgrade
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S -g 82 www-data 2>/dev/null
+addgroup -S apache 2>/dev/null
+adduser -S -D -H -h /var/www -s /sbin/nologin -G apache -g apache apache 2>/dev/null
+addgroup apache www-data 2>/dev/null
+
+exit 0