Fixed archlinux post_install
This commit is contained in:
parent
4d9a6add46
commit
5366f7b931
1 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,9 @@ post_install() {
|
||||||
useradd --system --create-home --gid matemat --home-dir /var/lib/matemat --shell /usr/bin/nologin matemat
|
useradd --system --create-home --gid matemat --home-dir /var/lib/matemat --shell /usr/bin/nologin matemat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown matemat:matemat -R /var/lib/matemat
|
chown matemat:matemat /var/lib/matemat
|
||||||
find /var/lib/matemat -type d -exec chmod 0750 {} \;
|
chmod 0750 /var/lib/matemat
|
||||||
find /var/lib/matemat -type f -exec chmod 0640 {} \;
|
ln -sf /var/lib/matemat/upload /usr/lib/matemat/static/upload
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue