Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #234 - Clarify ServerConf documentation #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pingora-core/src/server/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ pub struct ServerConf {
pub version: usize,
/// Whether to run this process in the background.
pub daemon: bool,
/// When configured, error log will be written to the given file. Otherwise StdErr will be used.
/// When configured and `daemon` setting is `true`, error log will be written to the given
/// file. Otherwise StdErr will be used.
pub error_log: Option<String>,
/// The pid (process ID) file of this server
/// The pid (process ID) file of this server to be created when running in background
pub pid_file: String,
/// the path to the upgrade socket
///
Expand Down