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

Adding debian/thalos-server.postinst

This commit is contained in:
Henrik Hautakoski 2023-05-12 15:36:17 +02:00
parent f7769acf07
commit 8d26a584ed

15
debian/thalos-server.postinst vendored Normal file
View file

@ -0,0 +1,15 @@
#!/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