24 lines
466 B
Desktop File
24 lines
466 B
Desktop File
[Unit]
|
|
Description=HDD fan control
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/conf.d/hddfancontrol
|
|
ExecStart=/usr/bin/hddfancontrol $HDDFANCONTROL_ARGS
|
|
|
|
# Scheduler priority
|
|
CPUSchedulingPolicy=rr
|
|
CPUSchedulingPriority=49
|
|
|
|
# Hardening
|
|
ProtectSystem=strict
|
|
PrivateTmp=true
|
|
ProtectHome=true
|
|
SystemCallArchitectures=native
|
|
MemoryDenyWriteExecute=true
|
|
CapabilityBoundingSet=CAP_SYS_RAWIO
|
|
AmbientCapabilities=CAP_SYS_RAWIO
|
|
NoNewPrivileges=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|