Add vitastor-mon.service, vitastor.target, create user and log directory during package installation

This commit is contained in:
Vitaliy Filippov
2022-09-03 00:09:22 +03:00
parent 68ebe5993a
commit bd11db5d0a
10 changed files with 74 additions and 43 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
addgroup --system --quiet vitastor
adduser --system --quiet --ingroup vitastor --no-create-home --home /nonexistent vitastor
fi