diff options
Diffstat (limited to 'main/darkhttpd/darkhttpd.pre-install')
-rw-r--r-- | main/darkhttpd/darkhttpd.pre-install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/darkhttpd/darkhttpd.pre-install b/main/darkhttpd/darkhttpd.pre-install new file mode 100644 index 0000000000..2ba71fbbe5 --- /dev/null +++ b/main/darkhttpd/darkhttpd.pre-install @@ -0,0 +1,8 @@ +#!/bin/sh + +addgroup -g 82 -S www-data 2>/dev/null +adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin -D darkhttpd \ + 2>/dev/null +addgroup darkhttpd www-data 2>/dev/null + +exit 0 |