This is the unit for the Transmission torrent client, which was compiled and installed from source.
/etc/systemd/system/transmission.service:
[Unit]
Description=Start the Transmission daemon
After=network.target
[Service]
Type=simple
User=_transmission
ExecStart=/usr/local/bin/transmission-daemon --foreground
UMask=0002
[Install]
WantedBy=multi-user.target
I need it to use umask 0002, but it still creates new files with the default 0022.
_transmission
is a system user, but it has a home folder. All other options are default. It has no default group (gid "nogroup").
Things I've tried
systemctl daemon-reload
systemctl restart transmission.service
- Reboot
System info
- Hardware: Raspberry Pi 4B (arm64)
- OS: Raspberry Pi OS (based on Debian bookworm)
- systemd 252