Allow setting scheduler & priority from systemd service

This commit is contained in:
desbma
2019-01-13 23:13:23 +01:00
parent c8e17796b5
commit e666629aaa
2 changed files with 17 additions and 9 deletions
+4
View File
@@ -5,5 +5,9 @@ Description=HDD fan control
EnvironmentFile=/etc/conf.d/hddfancontrol
ExecStart=/usr/bin/hddfancontrol $HDDFANCONTROL_ARGS
# Scheduler priority
CPUSchedulingPolicy=rr
CPUSchedulingPriority=49
[Install]
WantedBy=multi-user.target