Commit 5b2e36a8 authored by jan.koester's avatar jan.koester
Browse files

test

parent 0863052d
Loading
Loading
Loading
Loading
Loading
+6 −0
Changes for debian/authdb.postinst: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,12 @@ set -e

case "$1" in
    configure)
        # Create system user if it does not exist
        if ! getent passwd authdb >/dev/null 2>&1; then
            adduser --system --group --home /var/lib/authdb \
                --no-create-home --disabled-login --quiet authdb
        fi

        # Install default config if none exists
        if [ ! -f /etc/authdb/config.yaml ]; then
            mkdir -p /etc/authdb
+1 −1
Changes for debian/control: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Rules-Requires-Root: no

Package: authdb
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, openssl
Depends: ${shlibs:Depends}, ${misc:Depends}, openssl, adduser
Description: C++ authentication database server
 authdb is a C++ authentication database providing user, group, domain,
 and session management with a web interface, HTTP API, and plugin support