syncthing: activate logging for macOS agents
This commit is contained in:
parent
cadfe449aa
commit
e9b706bef7
2 changed files with 8 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,5 +19,9 @@
|
|||
<string>-c</string>
|
||||
<string>/bin/wait4path /nix/store && 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue