diff --git a/systemd-service-file-for-Debian-Ubuntu.md b/systemd-service-file-for-Debian-Ubuntu.md new file mode 100644 index 0000000..6b39e70 --- /dev/null +++ b/systemd-service-file-for-Debian-Ubuntu.md @@ -0,0 +1,25 @@ +This is a systemd service file created by a user (@neuman1812) of Bazarr. It assume you've installed Bazarr in: `/opt/bazarr`. + +You have to create a `bazarr.service` file in `/etc/systemd/system` that would contain the following text: + +``` +[Unit] +Description=bazarr Daemon +After=syslog.target network.target + +[Service] +User=pi (or user name of choice) +Group=pi + +Type=simple +ExecStart=/usr/bin/python /opt/bazarr/bazarr.py +TimeoutStopSec=20 +KillMode=process +Restart=on-failure + +[Install] +WantedBy=multi-user.target +``` + +@neuman1812 says: +> This is tested and working on my Raspberry pi 3, running Debian Stretch and python 2.7.13 \ No newline at end of file