1
0
Fork 0

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:
Jan Vcelak 2010-07-13 14:22:04 +02:00
parent e12dc4fb78
commit d8fa2ca16b
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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