tuned: pid file moved to /var/run/tuned/tuned.pid
This is being done to comply with SELinux policy. /var/run/tuned/ is intended to be a new home of any runtime files created by tuned itself or tuned plugins.
This commit is contained in:
parent
e12dc4fb78
commit
d8fa2ca16b
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
[main]
|
||||
# Interval for monitoring and tuning. Default is 10s.
|
||||
# interval=10
|
||||
# pidfile=/var/run/tuned.pid
|
||||
# pidfile=/var/run/tuned/tuned.pid
|
||||
logging=info
|
||||
logging_disable=notset
|
||||
|
||||
|
|
|
|||
2
tuned.py
2
tuned.py
|
|
@ -75,7 +75,7 @@ class Tuned:
|
|||
if self.config.has_option("main", "pidfile"):
|
||||
self.pidfile = self.config.get("main", "pidfile")
|
||||
else:
|
||||
self.pidfile = "/var/run/tuned.pid"
|
||||
self.pidfile = "/var/run/tuned/tuned.pid"
|
||||
|
||||
# loading, setting logging level and initializing plugins
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue