mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
refactor: Simplify launch daemon configuration for helper service
This commit is contained in:
parent
81bb2c44e0
commit
4b238d4dc2
@ -42,19 +42,12 @@ cat << EOF > "$LAUNCH_DAEMON"
|
|||||||
<dict>
|
<dict>
|
||||||
<key>Label</key>
|
<key>Label</key>
|
||||||
<string>party.mihomo.helper</string>
|
<string>party.mihomo.helper</string>
|
||||||
<key>MachServices</key>
|
<key>AssociatedBundleIdentifiers</key>
|
||||||
<dict>
|
<string>party.mihomo.app</string>
|
||||||
<key>party.mihomo.helper</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>KeepAlive</key>
|
<key>KeepAlive</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>Program</key>
|
<key>Program</key>
|
||||||
<string>${HELPER_PATH}</string>
|
<string>${HELPER_PATH}</string>
|
||||||
<key>ProgramArguments</key>
|
|
||||||
<array>
|
|
||||||
<string>${HELPER_PATH}</string>
|
|
||||||
</array>
|
|
||||||
<key>StandardErrorPath</key>
|
<key>StandardErrorPath</key>
|
||||||
<string>/tmp/party.mihomo.helper.err</string>
|
<string>/tmp/party.mihomo.helper.err</string>
|
||||||
<key>StandardOutPath</key>
|
<key>StandardOutPath</key>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user