1
0
Fork 0
forked from s3lph/matemat

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 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