2013-06-09 18:18:09 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Transmission BitTorrent Daemon
|
2022-03-01 03:25:07 +00:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
2024-05-25 16:51:51 +00:00
|
|
|
Documentation=man:transmission-daemon(1)
|
2013-06-09 18:18:09 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=transmission
|
2013-06-09 19:54:58 +00:00
|
|
|
Type=notify
|
2022-06-05 06:13:11 +00:00
|
|
|
ExecStart=/usr/bin/transmission-daemon -f --log-level=error
|
2014-01-21 02:19:48 +00:00
|
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
2023-12-25 02:48:18 +00:00
|
|
|
|
|
|
|
# Hardening
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
DevicePolicy=closed
|
|
|
|
KeyringMode=private
|
|
|
|
LockPersonality=true
|
2018-12-28 21:23:33 +00:00
|
|
|
NoNewPrivileges=true
|
2022-02-05 04:08:51 +00:00
|
|
|
MemoryDenyWriteExecute=true
|
2022-02-13 20:06:55 +00:00
|
|
|
PrivateTmp=true
|
2023-12-25 02:48:18 +00:00
|
|
|
PrivateDevices=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectSystem=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectProc=invisible
|
|
|
|
RestrictNamespaces=true
|
|
|
|
RestrictSUIDSGID=true
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
|
|
RestrictRealtime=true
|
|
|
|
SystemCallFilter=@system-service
|
|
|
|
SystemCallArchitectures=native
|
|
|
|
SystemCallErrorNumber=EPERM
|
2013-06-09 18:18:09 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|