Transmission-daemon run as user

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 15
Joined: Sun May 08, 2016 7:35 pm

Transmission-daemon run as user

Post by dimi3 »


Currently Transmission-daemon runs as root...i would like to run it with different user, but cant find where to set this default i dont like to run stuff with root.

Can someone point me to right direction ?

Thank you in advance.
User avatar
Site Admin
Posts: 2781
Joined: Tue Feb 06, 2007 1:36 pm

Re: Transmission-daemon run as user

Post by Fourdee »

You can set this in SystemD service:

Change User=BobTheBuilder as needed, then paste all into term

Code: Select all

cat << _EOF_ > /etc/systemd/system/transmission-daemon.service
Description=Barebones transmission-daemon service

ExecStart=/usr/bin/transmission-daemon --config-dir /var/lib/transmission-daemon/info
ExecStop=/usr/bin/killall -w transmission-daemon

#Update SystemD and restart services
systemctl daemon-reload
dietpi-services restart
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply