Unable to change user for services

I am running Deluge and by default it runs under the user “debian-deluged” however i need it to run under the “dietpi” user.

No matter what I do it always uses the user “debian-deluged”. I have edited the deluged.service and deluge.service.d/dietpi-services_edit.conf files and they both specify user=DietPi however when the service runs it still shows running under “debian-deluged” user.

Why wont dietpi let me change users for services?

Hi,

why are you need to have deluged running as dietpi user?

Because my hard drive is FAT32 and does not support permissions. So i have mounted it with DIETPI as the owner. Deluge can not write to the drive because it doesn’t have the permission to do so. So I need to run Deluge as Dietpi so that it has permission to write to my FAT32 drive.

better option would be to add Deluge user to DietPi group

Care to explain how?

usermod -a -G dietpi username

Okay I did that but it didn’t fix anything. Deluge still can not download to the hard drive.

Can you tell me how to change the user for this service? Why does this work on every other distro but DietPi??

I need Deluge to run as DietPi!

Did you reboot your system after you added Deluge user to dietpi group?

Yes of course I did.

Hi,

are you sure your stick was mounted as dietpi user? because if I add an USB stick, it will be mounted as root user. And did you tried to format your USB drive as ext4?

Is this a typo or you specified the user with capital D and P?

update:
I just tried it myself and worked fine.
You may need to run

systemctl daemon-reload

as advised in

dietpi-services status