syncthing: activate logging for macOS agents

This commit is contained in:
Peter Kling 2026-01-01 13:04:41 +01:00 committed by Austin Horstman
parent cadfe449aa
commit e9b706bef7
2 changed files with 8 additions and 0 deletions

View file

@ -840,6 +840,8 @@ in
SuccessfulExit = false;
};
ProcessType = "Background";
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/Syncthing/syncthing-stdout.log";
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/Syncthing/syncthing-stderr.log";
};
};
@ -849,6 +851,8 @@ in
ProgramArguments = [ "${updateConfig}" ];
ProcessType = "Background";
RunAtLoad = true;
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/Syncthing/syncthing-init-stdout.log";
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/Syncthing/syncthing-init-stderr.log";
};
};
};

View file

@ -19,5 +19,9 @@
<string>-c</string>
<string>/bin/wait4path /nix/store &amp;&amp; exec @syncthing-wrapper@</string>
</array>
<key>StandardErrorPath</key>
<string>/home/hm-user/Library/Logs/Syncthing/syncthing-stderr.log</string>
<key>StandardOutPath</key>
<string>/home/hm-user/Library/Logs/Syncthing/syncthing-stdout.log</string>
</dict>
</plist>