Pull request: all: imp new plat docs

Updates #2441.
Updates #2443.

Squashed commit of the following:

commit 6e5218916753bffb91f9fc6d5a546487add620d5
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Jun 1 15:56:21 2021 +0300

    all: imp new plat docs
This commit is contained in:
Ainar Garipov
2021-06-01 16:04:22 +03:00
parent 3fb32881fb
commit be4e110732
5 changed files with 54 additions and 32 deletions

View File

@@ -282,7 +282,8 @@ func handleServiceUninstallCommand(s service.Service) {
func configureService(c *service.Config) {
c.Option = service.KeyValue{}
// OS X
// macOS
// Redefines the launchd config file template
// The purpose is to enable stdout/stderr redirect by default
c.Option["LaunchdConfig"] = launchdConfig
@@ -290,6 +291,7 @@ func configureService(c *service.Config) {
c.Option["RunAtLoad"] = true
// POSIX
// Redirect StdErr & StdOut to files.
c.Option["LogOutput"] = true