1
0
Fork 0

application: consts moved to consts file

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2013-02-18 13:45:32 +01:00
parent f560833d7a
commit 9b65c2663d
2 changed files with 11 additions and 12 deletions

View file

@ -1,12 +1,14 @@
LOAD_DIRECTORIES = ["/usr/lib/tuned", "/etc/tuned"]
AUTODETECT_FILE = "autodetect.conf"
DEFAULT_PROFILE = "balanced"
SYSTEM_RELEASE_FILE = "/etc/system-release-cpe"
ACTIVE_PROFILE_FILE = "/etc/tuned/active_profile"
LOG_FILENAME = "/var/log/tuned/tuned.log"
LOG_FILE_MAXBYTES = 100*1000
AUTODETECT_FILE = "autodetect.conf"
DAEMONIZE_PARENT_TIMEOUT = 5
DBUS_BUS = "com.redhat.tuned"
DBUS_INTERFACE = "com.redhat.tuned.control"
DBUS_OBJECT = "/Tuned"
DEFAULT_PROFILE = "balanced"
LOAD_DIRECTORIES = ["/usr/lib/tuned", "/etc/tuned"]
# number of backups
LOG_FILE_COUNT = 2
DBUS_BUS = "com.redhat.tuned"
DBUS_OBJECT = "/Tuned"
DBUS_INTERFACE = "com.redhat.tuned.control"
LOG_FILE_MAXBYTES = 100*1000
LOG_FILENAME = "/var/log/tuned/tuned.log"
PID_FILE = "/run/tuned/tuned.pid"
SYSTEM_RELEASE_FILE = "/etc/system-release-cpe"

View file

@ -9,9 +9,6 @@ import sys
import select
import tuned.consts as consts
PID_FILE = "/run/tuned/tuned.pid"
DAEMONIZE_PARENT_TIMEOUT = 5
log = tuned.logs.get()
__all__ = ["Application"]