Fixed archlinux post_install

This commit is contained in:
s3lph 2018-11-12 00:01:02 +01:00
parent 4d9a6add46
commit 5366f7b931

View file

@ -9,9 +9,9 @@ post_install() {
useradd --system --create-home --gid matemat --home-dir /var/lib/matemat --shell /usr/bin/nologin matemat
fi
chown matemat:matemat -R /var/lib/matemat
find /var/lib/matemat -type d -exec chmod 0750 {} \;
find /var/lib/matemat -type f -exec chmod 0640 {} \;
chown matemat:matemat /var/lib/matemat
chmod 0750 /var/lib/matemat
ln -sf /var/lib/matemat/upload /usr/lib/matemat/static/upload
systemctl daemon-reload