install-apple-container.sh builds and (re)starts both containers (dashboard mounts reports/ read-only, port 8090); --boot installs a LaunchAgent since Apple container has no restart policy. README covers the new deploy path, SearXNG settings, and the dashboard. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
853 B
Plaintext
19 lines
853 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<!-- 로그인 시 Apple container 런타임과 us2kr 컨테이너를 기동하는 one-shot 에이전트.
|
|
__CONTAINER__/__ROOT__ 는 install-apple-container.sh --boot 가 치환한다. -->
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key><string>com.us2kr.container</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/bin/bash</string>
|
|
<string>-c</string>
|
|
<string>__CONTAINER__ system start && __CONTAINER__ start us2kr; __CONTAINER__ start us2kr-dashboard</string>
|
|
</array>
|
|
<key>RunAtLoad</key><true/>
|
|
<key>StandardOutPath</key><string>__ROOT__/logs/container-boot.log</string>
|
|
<key>StandardErrorPath</key><string>__ROOT__/logs/container-boot.log</string>
|
|
</dict>
|
|
</plist>
|