Engels Install Ubuntu Watcher from the command line

In this Ubuntu Watcher installation tutorial we are going to install Watcher on an Ubuntu system via the command line. And we are going to make sure that Watcher is started automatically during the startup process.

Watcher makes it possible to automatically download movies from the newsgroups. and via torrent files.

Install Watcher

We need to do an update.

sudo apt-get update

We need to install the supplies for Watcher. You may have installed all of these.

Verify that Python version 3 is installed.

python –version

Add installation capability for python 3.

sudo add-apt-repository ppa:deadsnakes/ppa

Install Python 3

sudo apt install python3.8

Download Watcher. And install it in the hidden folder watcher.

sudo git clone https://github.com/nosmokingbandit/watcher ./watcher

Set the folder rights correctly. Beware! Customize the user name. to your own username.

sudo chown -R Username:Username ./watcher

Go to the correct folder. And then launch Watcher.

cd ./watcher
python watcher.py

You are now done. With the installation of Watcher. And you can now access this via http: // ip-ubuntu-computer:9090

Launch Ubuntu Watcher automatically

Now we’re going to make Watcher start up, during the Ubuntu boot process.

We are going to create a systemd configuration file.

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

See below. Copy this text and paste it here. And adjust the user. To your own user name. Beware! You may need to adjust the Python version. It now says /usr/bin/python3.8

[Unit]
Description=Watcher Daemon
[Service]
User=User
Group=User
Type=forking
GuessMainPID=no
ExecStart=/usr/bin/python3.8 ./watcher.py –address 0.0.0.0 -d
Restart=no

[Install]
WantedBy=multi-user.target

Press Ctrl+X. And continue y key. To save and close the file.

The systemd service, must be allowed for Watcher.

sudo systemctl enable watcher

Now we are going to start the Watcher service.

sudo service watcher start

Watcher is now started when Ubuntu is restarted. You can test this by doing a reboot.

sudo reboot

You are now done installing Watcher on Ubuntu.

Be the first to comment

Leave a Reply