1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00

Created systemd service file for Debian/Ubuntu (markdown)

morpheus65535 2018-10-11 23:53:08 -04:00
parent 037fe998f5
commit e5a6071127

@ -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