Skip to content

Instantly share code, notes, and snippets.

@tyru
Created October 31, 2015 15:10
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tyru/da4b2bb5cecdcf8dce52 to your computer and use it in GitHub Desktop.
Save tyru/da4b2bb5cecdcf8dce52 to your computer and use it in GitHub Desktop.
/etc/systemd/system/calibre-server.service
[Unit]
Description=Calibre Content Server
After=network.target
[Service]
Type=simple
User=tyru
Group=tyru
ExecStart=/usr/bin/calibre-server --with-library /mnt/server/calibre --port 8080
[Install]
WantedBy=default.target
@Majester
Copy link

--with-library is an invalid parameter in the current Calibre.
Working version for me is:
ExecStart=/usr/bin/calibre-server --port=[port number] [library path]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment