So after some research I found the existence of drop-ins for systemd service units.
I'm trying to get the
transmission-daemon package running as the
pi user since it's the only way to get correct permission in the folder it downloads to. By default it runs as
debian-transmission. I want to steer away from init.d and choose a systemd approach.
Described in the systemd file (
[Unit] Description=Transmission BitTorrent Daemon After=network.target [Service] User=debian-transmission Type=notify ExecStart=/usr/bin/transmission-daemon -f --log-error ExecReload=/bin/kill -s HUP $MAINPID [Install] WantedBy=multi-user.target
With my drop-in replacement in
[Service] User= User=pi Group=pi
sudo systemctl daemon-reload and
sudo systemctl restart transmission-daemon. The drop-in is listed in
sudo systemctl status transmission-daemon and shows as active nevertheless the daemon isn't running correctly and RPC connection doesn't work in a browser.
Thanks in advance if you help, because I'm fumbled.