Add mkdir /var/lib/vitastor
This commit is contained in:
Vendored
+2
@@ -6,4 +6,6 @@ if [ "$1" = "configure" ]; then
|
|||||||
addgroup --system --quiet vitastor
|
addgroup --system --quiet vitastor
|
||||||
adduser --system --quiet --ingroup vitastor --no-create-home --home /nonexistent vitastor
|
adduser --system --quiet --ingroup vitastor --no-create-home --home /nonexistent vitastor
|
||||||
mkdir -p /etc/vitastor
|
mkdir -p /etc/vitastor
|
||||||
|
mkdir -p /var/lib/vitastor
|
||||||
|
chown vitastor:vitastor /var/lib/vitastor
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ mkdir -p /etc/vitastor
|
|||||||
groupadd -r -f vitastor 2>/dev/null ||:
|
groupadd -r -f vitastor 2>/dev/null ||:
|
||||||
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
||||||
mkdir -p /etc/vitastor
|
mkdir -p /etc/vitastor
|
||||||
|
mkdir -p /var/lib/vitastor
|
||||||
|
chown vitastor:vitastor /var/lib/vitastor
|
||||||
|
|
||||||
|
|
||||||
%files -n vitastor-client
|
%files -n vitastor-client
|
||||||
|
|||||||
@@ -141,6 +141,8 @@ mkdir -p /etc/vitastor
|
|||||||
groupadd -r -f vitastor 2>/dev/null ||:
|
groupadd -r -f vitastor 2>/dev/null ||:
|
||||||
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
||||||
mkdir -p /etc/vitastor
|
mkdir -p /etc/vitastor
|
||||||
|
mkdir -p /var/lib/vitastor
|
||||||
|
chown vitastor:vitastor /var/lib/vitastor
|
||||||
|
|
||||||
|
|
||||||
%files -n vitastor-client
|
%files -n vitastor-client
|
||||||
|
|||||||
@@ -134,6 +134,8 @@ mkdir -p /etc/vitastor
|
|||||||
groupadd -r -f vitastor 2>/dev/null ||:
|
groupadd -r -f vitastor 2>/dev/null ||:
|
||||||
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
useradd -r -g vitastor -s /sbin/nologin -c "Vitastor daemons" -M -d /nonexistent vitastor 2>/dev/null ||:
|
||||||
mkdir -p /etc/vitastor
|
mkdir -p /etc/vitastor
|
||||||
|
mkdir -p /var/lib/vitastor
|
||||||
|
chown vitastor:vitastor /var/lib/vitastor
|
||||||
|
|
||||||
|
|
||||||
%files -n vitastor-client
|
%files -n vitastor-client
|
||||||
|
|||||||
Reference in New Issue
Block a user