Create /etc/vitastor during package installation

This commit is contained in:
Vitaliy Filippov
2022-09-03 23:31:55 +03:00
parent 2f13f347b0
commit 2a1da88253
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -5,4 +5,5 @@ set -e
if [ "$1" = "configure" ]; then
addgroup --system --quiet vitastor
adduser --system --quiet --ingroup vitastor --no-create-home --home /nonexistent vitastor
mkdir -p /etc/vitastor
fi
+1
View File
@@ -6,4 +6,5 @@ if [ "$1" = "configure" ]; then
addgroup --system --quiet vitastor
adduser --system --quiet --ingroup vitastor --no-create-home --home /nonexistent vitastor
install -o vitastor -g vitastor -d /var/log/vitastor
mkdir -p /etc/vitastor
fi