diff --git a/docs/docs/user-guide/install.md b/docs/docs/user-guide/install.md index c04f2c4..e7ea12a 100644 --- a/docs/docs/user-guide/install.md +++ b/docs/docs/user-guide/install.md @@ -49,7 +49,7 @@ make # You may add VERBOSE=1 to cmdline for debugging Available CMake options(each option has a form of `-D=`, 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: diff --git a/docs/docs/user-guide/run.md b/docs/docs/user-guide/run.md index a11ece0..2d17278 100644 --- a/docs/docs/user-guide/run.md +++ b/docs/docs/user-guide/run.md @@ -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: ```