fix quota

This commit is contained in:
2021-12-18 13:02:49 +01:00
parent 81fc921e3f
commit 868d131972
3 changed files with 14 additions and 5 deletions

View File

@@ -25,9 +25,17 @@ It's recommended to install UAAP automatically by using another script of mine,
### Manual method (not recommended, needs more work)
Download the git repository by using
`git clone http://src.mehl.mx/git/uberspace-setup.git`
Download the git repository by using
`git clone http://src.mehl.mx/git/uberspace-webadmin.git`
I assume it's best to place these files in a subdomain. I used `panel.example.com` for that.
Now open the files `config.cfg.sample`, `.htaccess.sample`, and `.htpasswd.sample` and change all necessary settings. Be sure to remove the `.sample` in the file names of these files afterwards.
### Other steps
On Uberspace 7, you'll need to create a cronjob to provide quota information because of SELinux limitations. To do so, edit your crontab with `crontab -e` and insert:
```
* * * * * quota -gsl > /var/www/virtual/MYUSERNAME/panel.example.com/quota
```