mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
Adding debian/thalos-server.postinst
This commit is contained in:
parent
f7769acf07
commit
8d26a584ed
1 changed files with 15 additions and 0 deletions
15
debian/thalos-server.postinst
vendored
Normal file
15
debian/thalos-server.postinst
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue