1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
thalos/debian/thalos.postinst

15 lines
283 B
Bash

#!/bin/sh
set -e
if [ "$1" = 'configure' ]; then
adduser --force-badname --system --home /nonexistent \
--group --no-create-home --quiet thalos || true
# Create log directory
mkdir -p /var/log/thalos
chown thalos:adm /var/log/thalos
fi
#DEBHELPER#
exit 0