Skip to content

Instantly share code, notes, and snippets.

@abhijit86k
Forked from jbeley/calibre.service
Created April 14, 2020 05:22
Show Gist options
  • Save abhijit86k/9308310ea59a2feda6a1b55e92c0d286 to your computer and use it in GitHub Desktop.
Save abhijit86k/9308310ea59a2feda6a1b55e92c0d286 to your computer and use it in GitHub Desktop.
Avahi service file for calibre e-book server
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<!-- See avahi.service(5) for more information about this configuration file -->
<!-- See https://code.google.com/archive/p/openpub/wikis/DeprecatedOPDSSpecification.wiki for OPDS spec -->
<service-group>
<name>Calibre</name>
<service>
<type>_opds._tcp</type>
<port>8080</port>
<host-name>myhostname.local</host-name>
<txt-record>protocol=http</txt-record>
<txt-record>path=/opds/</txt-record>
</service>
</service-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment