Quantcast
Channel: MobileRead Forums - Reading and Management
Viewing all articles
Browse latest Browse all 23805

3.0 calibre-server --daemonize

$
0
0
OS X 10.12.5

After upgrading to calibre 3.0 (OSX) calibre-server isn't starting at boot. The startup plist below lives at ~/Library/LaunchAgents/

From the command-line:

Code:

/Applications/calibre.app/Contents/MacOS/calibre-server --port 8080
works, but fails if I add --daemonize


startup plist:

Code:

<?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>Label</key>
    <string>com.jocala.calibre-server</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/calibre.app/Contents/MacOS/calibre-server</string>
        <string>-p 8080</string>
    </array>
    <key>KeepAlive</key>
    <true/>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>


Viewing all articles
Browse latest Browse all 23805

Trending Articles