diff --git a/internal/home/service.go b/internal/home/service.go index 1d87f162..27d59ad3 100644 --- a/internal/home/service.go +++ b/internal/home/service.go @@ -460,8 +460,9 @@ var launchdConfig = ` // 1. The RestartSec setting is set to a lower value of 10 to make sure we // always restart quickly. // -// 2. The ExecStartPre setting is added to make sure that the log directory is -// always created to prevent the 209/STDOUT errors. +// 2. The StandardOutput and StandardError settings are set to redirect the +// output to the systemd journal, see +// https://man7.org/linux/man-pages/man5/systemd.exec.5.html#LOGGING_AND_STANDARD_INPUT/OUTPUT. const systemdScript = `[Unit] Description={{.Description}} ConditionFileIsExecutable={{.Path|cmdEscape}}