| 1 |
[Unit] |
| 2 |
Description=Initialize hardware monitoring sensors |
| 3 |
Documentation=man:sensors(1) man:sensors.conf(5) |
| 4 |
|
| 5 |
[Service] |
| 6 |
Type=oneshot |
| 7 |
RemainAfterExit=yes |
| 8 |
ExecStart=-/usr/bin/sensors -s |
| 9 |
ExecStart=-/usr/bin/sensors |
| 10 |
|
| 11 |
# Hardening options |
| 12 |
AmbientCapabilities= |
| 13 |
CapabilityBoundingSet= |
| 14 |
LockPersonality=yes |
| 15 |
MemoryDenyWriteExecute=yes |
| 16 |
NoNewPrivileges=yes |
| 17 |
PrivateDevices=yes |
| 18 |
PrivateNetwork=yes |
| 19 |
PrivateTmp=yes |
| 20 |
ProtectControlGroups=yes |
| 21 |
ProtectHome=yes |
| 22 |
ProtectHostname=true |
| 23 |
ProtectKernelLogs=true |
| 24 |
ProtectKernelModules=yes |
| 25 |
ProtectSystem=strict |
| 26 |
RestrictNamespaces=yes |
| 27 |
RestrictRealtime=yes |
| 28 |
SystemCallFilter= |
| 29 |
|
| 30 |
[Install] |
| 31 |
WantedBy=multi-user.target |