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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue