docs: update comments in plist template to clarify boot options and variables
This commit is contained in:
@@ -3,8 +3,10 @@
|
|||||||
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<!--
|
<!--
|
||||||
Gitea Actions runner launchd service — rendered from com.gitea.runner.plist.tpl
|
Gitea Actions runner launchd service — rendered from com.gitea.runner.plist.tpl
|
||||||
Variables: RUNNER_NAME, RUNNER_DATA_PATH
|
Variables: RUNNER_NAME, RUNNER_DATA_PATH, RUNNER_PLIST_USERNAME_BLOCK
|
||||||
Installed to ~/Library/LaunchAgents/ by manage_runner.sh (add_native_runner)
|
Installed by manage_runner.sh (add_native_runner):
|
||||||
|
boot=false → ~/Library/LaunchAgents/ (starts at login, no sudo)
|
||||||
|
boot=true → /Library/LaunchDaemons/ (starts at boot, requires sudo)
|
||||||
|
|
||||||
Log rotation: logs are rotated daily, keeping 5 archives (50 MB max each).
|
Log rotation: logs are rotated daily, keeping 5 archives (50 MB max each).
|
||||||
The companion newsyslog config is installed alongside this plist.
|
The companion newsyslog config is installed alongside this plist.
|
||||||
@@ -31,6 +33,7 @@
|
|||||||
<key>KeepAlive</key>
|
<key>KeepAlive</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
||||||
|
${RUNNER_PLIST_USERNAME_BLOCK}
|
||||||
<key>StandardOutPath</key>
|
<key>StandardOutPath</key>
|
||||||
<string>${RUNNER_DATA_PATH}/runner.out.log</string>
|
<string>${RUNNER_DATA_PATH}/runner.out.log</string>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user