Install LazyLibrarian on Arch Linux

Install LazyLibrarian on Arch Linux

LazyLibrarian is an automated download manager much like Couchpotato, Sonarr or Headphones but for  for eBooks. It is not being actively developed and there are several dead Github repositories. It does work to an extent and there are currently no alternative download manager for eBooks.

 

Install LazyLibrarian

Install git.

sudo pacman -S git

 

Create a system account and group.

sudo useradd -r -s /bin/false lazylibrarian

 

Add the user to secondary groups (optional).

sudo usermod -a -G nzbget,utserver lazylibrarian

 

Change current directory to the desired installation directory.

cd /opt

 

Clone the git repository.

sudo git clone https://github.com/anthonypdawson/LazyLibrarian.git

 

Optionally, rename the installation directory to lower case for easier management.

sudo mv /opt/LazyLibrarian /opt/lazylibrarian

 

Change current directory to the cloned git directory.

cd /opt/lazylibrarian

 

Change the installation directory ownership.

sudo chown -R lazylibrarian:lazylibrarian /opt/lazylibrarian

 

Change the installation directory permissions.

sudo chmod -R 775 /opt/lazylibrarian

 

Run LazyLibrarian

Create the systemd script.

sudo nano /etc/systemd/system/lazylibrarian.service

 

Copy the script and save.

[Unit]
Description=LazyLibrarian Service
After=network.target

[Service]
Type=simple
User=lazylibrarian
Group=lazylibrarian
ExecStart=/usr/bin/env python2 /opt/lazylibrarian/LazyLibrarian.py \
          --quiet \
          --config /opt/lazylibrarian/config.ini \
          --datadir /opt/lazylibrarian

[Install]
WantedBy=multi-user.target

 

Start the service.

sudo systemctl start lazylibrarian

 

Enable the service to run on boot.

sudo systemctl enable lazylibrarian

 

Use LazyLibrarian

Default port is 8082 unless it has been changed manually. Change 192.168.0.100 to the actual IP address of the server. Access LazyLibrarian via its web interface on 192.168.0.100:8082 and configure it from the settings page.

dom