launchd-mklogs
v2019.4.13
Published
add launchd.plist logs
Downloads
2
Readme
add launchd.plist logs
Installation
$ [sudo] npm i -g launchd-mklogs
How it works
launchd.plist
<key>StandardErrorPath</key>
<string>path/to/err.log</string>
<key>StandardOutPath</key>
<string>path/to/out.log</string>
launchd-mklogs
will create StandardErrorPath
, StandardOutPath
directories and files with current user permissions
Scripts usage
command|usage
-|-
launchd-mklogs
|usage: launchd-mklogs path ...
Examples
$ find ~/Library/LaunchAgents -name "*.plist" -print0 | xargs -0 launchd-mklogs