Update docs (#2)

* fix WITH_STATIC description

* add logrotate note
main
R4SAS 2022-08-24 09:27:19 +00:00 committed by GitHub
parent 40d98452ab
commit ed591998ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -49,7 +49,7 @@ make # You may add VERBOSE=1 to cmdline for debugging
Available CMake options(each option has a form of `-D<key>=<value>`, for more information see `man 1 cmake`):
* `CMAKE_BUILD_TYPE` build profile (Debug/Release, default: no optimization or debug symbols)
* `WITH_STATIC` build static versions of library and i2pd binary (default: OFF)
* `WITH_STATIC` build static pboted binary (default: OFF)
Also there is `-L` flag for CMake that could be used to list current cached options:

View File

@ -27,6 +27,12 @@ sudo mkdir /var/log/pboted
sudo chown -R pboted: /var/log/pboted
```
- Copy `logrotate` configuration file for logs rotation
```
sudo cp contrib/pboted.logrotate /etc/logrotate.d/pboted
```
- Copy example `systemd` service file, reload daemons configuration, and start unit:
```