--enable-systemd

James Thomas Moon 2019-03-09 22:47:59 -08:00
parent 17deae3bcd
commit 634eb8d51e

@ -168,7 +168,7 @@ cd qBittorrent-release-4.1.5
## Compile qBittorrent-nox
~~~~
./configure --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
./configure --disable-gui --enable-systemd --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
make
sudo make install
~~~~~
@ -196,6 +196,8 @@ sudo useradd -rm qbittorrent -G dietpi -s /usr/sbin/nologin
## Create systemd service file
_UPDATE:_ this may not be necessary if qBittorrent compilation was configured with flag `--enable-systemd`.
Create a systemd service file at `/etc/systemd/system/qbittorrent.service`. Contents are:
~~~~