mirror of
https://github.com/transmission/transmission
synced 2024-12-28 02:27:41 +00:00
18b8e98e3f
ProtectSystem mounts /boot, /efi and /usr as read only, basically disallowing the daemon from ever writing there. PrivateTmp sets up a file system namespace for /tmp and /var/tmp/ basically hiding it from other processes. Co-authored-by: Charles Kerr <charles@charleskerr.com>
16 lines
325 B
Desktop File
16 lines
325 B
Desktop File
[Unit]
|
|
Description=Transmission BitTorrent Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=transmission
|
|
Type=notify
|
|
ExecStart=/usr/bin/transmission-daemon -f --log-error
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
NoNewPrivileges=true
|
|
MemoryDenyWriteExecute=true
|
|
ProtectSystem=true
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|