From 5506a922c6a919a4b73945b7ebf77ad5e5a19ddb Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 8 Mar 2018 23:57:44 +0300 Subject: [PATCH] quote expansions Signed-off-by: fbt --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa79543..4764a49 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Optional settings (incomplete list): * `service_pidfile` — If the service manages its own pidfile, set this. * `service_pidfile_timeout = 15` — How long to wait for the service to create its pidfile. * `service_pidfile_remove_stale = yes` — Remove stale pidfiles before spawning the service process. -* `service_logfile_out = $logdir/$service_name.log` — Logfile for output. -* `service_logfile_err = $service_logfile_out` — Logfile for stderr. +* `service_logfile_out = "$logdir/$service_name.log"` — Logfile for output. +* `service_logfile_err = "$service_logfile_out"` — Logfile for stderr. * `service_stop_timeout = 30` — How long to wait after sending the stop command. * `service_ready_timeout = 15` — How long to wait till the service is ready, in seconds. * `service_stop_signal = 15` — Which signal to send to the service when stopping. @@ -40,3 +40,5 @@ Optional settings (incomplete list): * `service_success_exit = 0` — Array. Which exit codes to treat as successful termination. Only works for managed services (With no custom pidfile). * `service_oneshot = no` — The service is supposed to do something and die instead of daemonizing. * `service_signals_passthru` — Array, empty by default. Which signals should the svc pass directly to the service mainpid. This is dangerous, use with caution. + +Quote your expansions btw. This is still BASH.