X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fdocs%2Finstallation%2Fopenbsd_en.md;h=51909fdd7d18cbc7ec6fe0382a93951c800b0966;hb=531a55018429236d01db83832b7525b0a99a346e;hp=c773d7c26444b66e2caf15fbe9e1bf3118d560a4;hpb=ef1c68a8e95144165b899c99605dc9277c1c35ae;p=akkoma diff --git a/docs/docs/installation/openbsd_en.md b/docs/docs/installation/openbsd_en.md index c773d7c26..51909fdd7 100644 --- a/docs/docs/installation/openbsd_en.md +++ b/docs/docs/installation/openbsd_en.md @@ -47,6 +47,9 @@ Create the `_akkoma` user, assign it the akkoma login class and create its home Enter a shell as the `_akkoma` user. As root, run `su _akkoma -;cd`. Then clone the repository with `git clone https://akkoma.dev/AkkomaGang/akkoma.git`. Akkoma is now installed in `/home/_akkoma/akkoma/`, it will be configured and started at the end of this guide. #### PostgreSQL +Create `_postgresql`'s user directory (it hasn't been created yet): `mdir var/postgresql/data`. To set it as home +directory for user `_postgresql` run `usermod -d /var/postgresql/data _postgresql`. + Start a shell as the `_postgresql` user (as root run `su _postgresql -` then run the `initdb` command to initialize postgresql. You will need to specify pgdata directory to the default (`/var/postgresql/data`) with the `-D ` and set the user to postgres with the `-U ` flag. This can be done as follows: @@ -92,9 +95,6 @@ server "default" { location "/robots.txt" { root "/htdocs/local/" } location "/*" { block return 302 "https://$HTTP_HOST$REQUEST_URI" } } - -types { -} ``` Do not forget to change ** to your server's address(es). If httpd should only listen on one protocol family, comment one of the two first *listen* options.