Enhance README with install instructions and tell about chroot for everyone

This commit is contained in:
Solene Rapenne 2020-12-05 20:12:13 +01:00
parent bfd1f66350
commit 8c5e344707
1 changed files with 8 additions and 2 deletions

View File

@ -24,11 +24,17 @@ the filesystem access is restricted to one directory (default to
`/var/gemini/`) and with `pledge()` only systems calls related to `/var/gemini/`) and with `pledge()` only systems calls related to
reading files and reading input/output are allowed. reading files and reading input/output are allowed.
For all supported OS, it's possible to run **Vger** in a chroot
and drop privileges to a dedicated user.
# Get the sources
# Install
``` ```
git clone https://tildegit.org/solene/vger.git git clone https://tildegit.org/solene/vger.git
cd vger
make
sudo make install
``` ```
# Running tests # Running tests
@ -75,7 +81,7 @@ Make links to the certificates and key files according to relayd.conf documentat
# ln -s /etc/ssl/acme/private/privkey.pem /etc/ssl/private/hostname.example\:1965.key # ln -s /etc/ssl/acme/private/privkey.pem /etc/ssl/private/hostname.example\:1965.key
``` ```
Enable inetd and relayd and start them: On OpenBSD, enable inetd and relayd and start them:
``` ```
# rcctl enable relayd inetd # rcctl enable relayd inetd
# rcctl start relayd inetd # rcctl start relayd inetd