application: consts moved to consts file
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
f560833d7a
commit
9b65c2663d
2 changed files with 11 additions and 12 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue