This repository has been archived on 2020-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-18 17:21:08 +00:00
|
|
|
[Unit]
|
|
|
|
StartLimitIntervalSec=0
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=root
|
|
|
|
DynamicUser=true
|
|
|
|
|
2020-06-04 12:37:46 +00:00
|
|
|
Restart=on-failure
|
2020-05-18 17:21:08 +00:00
|
|
|
RestartSec=10
|
|
|
|
|
|
|
|
ProtectSystem=strict
|
|
|
|
PrivateUsers=true
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
|
2020-05-25 19:39:12 +00:00
|
|
|
ReadWritePaths={{ transmission.root_dir }}
|
2020-05-18 17:21:08 +00:00
|
|
|
BindReadOnlyPaths=/usr /lib /lib64
|
|
|
|
TemporaryFileSystem=/:ro
|
2020-05-25 19:39:12 +00:00
|
|
|
Environment=TRANSMISSION_HOME={{ transmission.root_dir }}/.config
|
2020-05-18 17:21:08 +00:00
|
|
|
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelModules=yes
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
|
|
RestrictNamespaces=yes
|
|
|
|
RestrictRealtime=yes
|
|
|
|
RestrictSUIDSGID=yes
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
LockPersonality=yes
|
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|