From 7c9a2547a82b4737e1785bb56ede2bf01bfb8533 Mon Sep 17 00:00:00 2001 From: Eugene Burkov Date: Tue, 11 Jun 2024 18:33:26 +0300 Subject: [PATCH] home: imp doc --- internal/home/service.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}}