How to get bazarr running as a deamon

I installed bazarr from AUR, and after installation, I could not connect to its webpage at http://127.0.0.1:6767

After making the file executable, I was able to start it manually
cd /usr/lib/bazarr
sudo python bazarr.py

I see that it is written in python, is it possible to run a python program as a deamon and have it started when the PC starts, and how can i do that ?

In the pacman build files and in /usr/lib/systemd/system/ I found this
bazarr.service file

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

[Service]
User=bazarr
Group=bazarr
Type=simple
ExecStart=/usr/bin/python /usr/lib/bazarr/bazarr.py --no-update --config /var/lib/bazarr
Restart=on-failure
SyslogIdentifier=bazarr

[Install]
WantedBy=multi-user.target

but the service is not starting automatically

sudo systemctl enable --now bazarr.service

Yessss, thank you, it works.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.