I've been using qbittorrent-nox on a headless Raspberry Pi 3 B+. The setup was a breeze. But then I wanted to autostart qbittorrent after boot, so I wrote a systemd service unit and enabled it. It worked and the service started on boot. But it was started with root previleges. Is there any way to do this as another non-root user?
User=
andGroup=
in the[Service]
section of the unit file. - as found using google – Jaromanda X Jan 1 '19 at 8:54man systemd.exec
. – Ingo Jan 3 '19 at 11:04