Running xandikos using launchctl #177
Answered
by
jelmer
lamyergeier
asked this question in
Q&A
-
I am able to run xandikos as follows: $ /Users/lamyergeier/.local/bin/xandikos -d /Users/lamyergeier/dav -l 192.168.178.33 -p 8080
INFO:root:Listening on 192.168.178.33:8080
WARNING:root:aiohttp-openmetrics not found; /metrics will not be available.
======== Running on http://192.168.178.33:8080 ========
(Press CTRL+C to quit) Installed xandikos using pipx: My launchctl plist file (/Users/lamyergeier/Library/LaunchAgents/xandikos.plist): <?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">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>xandikos</string>
<key>ProgramArguments</key>
<array>
<string>/Users/lamyergeier/.local/bin/xandikos</string>
<string>-d /Users/lamyergeier/dav</string>
<string>-l 192.168.178.33</string>
<string>-p 8080</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Users/lamyergeier/Documents/Log/xandikos.log</string>
<key>StandardOutPath</key>
<string>/Users/lamyergeier/Documents/Log/xandikos.log</string>
</dict>
</plist>
Output
Any suggestions? |
Beta Was this translation helpful? Give feedback.
Answered by
jelmer
Jul 8, 2022
Replies: 1 comment
-
That's odd; this suggests that it's having trouble resolving either the listen address or the port. My guess is that it's adding leading spaces unintentionally. Can you try replacing these two lines:
with:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lamyergeier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's odd; this suggests that it's having trouble resolving either the listen address or the port.
My guess is that it's adding leading spaces unintentionally. Can you try replacing these two lines:
with: