I have an old laptop hooked up to my router running as linux box. I installed qbittorrent to run as a remote torrent box (to download linux distros of course) and I created a new user, "qbuser" for it to run under. I created the appropriate unit file but when I look at the process list, it's running as root. Why this might be happening?
[Unit] Description=qbittorrent-nox Documentation=man:qbittorrent-nox DefaultDependencies=yes After=network-online.target nss-lookup.target Before=multi-user.target [Service] User=[i][b]qbuser[/b][/i] Group=[b]qb[/b] Type=simple ExecStart=/usr/bin/qbittorrent-nox [-options] Nice=10 StandardError=null StandardOutput=null TimeoutSec=360s [Install] WantedBy=multi-user.target
Edit: I fixed the syntax errors in the unit file, now it just fails outright. I double checked that group qb and user qbuser exist. Here is the systemctl status output:
steve@debian-server:~$ sudo systemctl status qbittorrent ● qbittorrent.service - qbittorrent-nox Loaded: loaded (/etc/systemd/system/qbittorrent.service; enabled; vendor preset: enabled) Active: failed (Result: signal) since Fri 2019-01-25 23:31:07 CST; 6min ago Docs: man:qbittorrent-nox Process: 994 ExecStart=/usr/bin/qbittorrent-nox (code=killed, signal=ABRT) Main PID: 994 (code=killed, signal=ABRT) Jan 25 23:31:07 debian-server systemd: Started qbittorrent-nox. Jan 25 23:31:07 debian-server systemd: qbittorrent.service: Main process exited, code=killed, status=6/ABRT Jan 25 23:31:07 debian-server systemd: qbittorrent.service: Unit entered failed state. Jan 25 23:31:07 debian-server systemd: qbittorrent.service: Failed with result 'signal'.