[Unit]
Description=CPU stability limits for the GM7RGxM fan/power fault workaround
After=systemd-tmpfiles-setup.service
[Service]
Type=simple
ExecStart=/usr/bin/python3 -I /usr/local/lib/motherboardctl/stability_guard.py
Restart=on-failure
RestartSec=3
RuntimeDirectory=motherboard-stability
RuntimeDirectoryMode=0755
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/sys/devices/system/cpu /run/motherboard-stability
PrivateTmp=true
PrivateDevices=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_UNIX
LockPersonality=true
RestrictSUIDSGID=true
CapabilityBoundingSet=
UMask=0022
[Install]
WantedBy=multi-user.target