fix hardware monitoring thread restart
fix device matching if the multiple profiles are merged
new release (2.2.0)
set advanced power management level to 254 instead of 255

Some drives doesn't support 255 (off) and still increase Load_Cycle_Count
resolves: rhbz#905195
spec: used systemd-rpm macros

resolves: rhbz#850347
loader: fixed error handling

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
commands: if there is no stderr output of failed command, show stdout

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
net plugin: added support for wake_on_lan static tuning

resolves: rhbz#885504

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
powertop2tuned: do not crash if powertop is not installed

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
powertop2tuned: avoid circular deps in include (one level check only)

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
tuned: new option --log, -l to select log file

If used without argument as --log or -l the tuned will log to file even if
running on foreground. It will not log to console. This is the default if
running as daemon.

If used with argument as --log FILE, -l FILE, the log will be stored to FILE.
This is also applicable for deamon.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
disk plugin: use APM value 254 for cleanup

related: rhbz#905195

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
tuned, tuned-adm: added new option --version, -v to show version

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
tuned, tuned-adm: moved dbus consts to consts file

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
application: consts moved to consts file

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
tuned: new option --pid, -P to write PID file

If used without argument as --pid or -P the tuned will write the PID file even
if running in foreground. The PID file is always written if running as daemon.

If used with argument as --pid FILE or -P FILE, the PID will be written to
FILE. This is also applicable for daemon.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
tuned.service: switched to dbus type service

resolves: rhbz#911445

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
recommend: use recommend.conf not autodetect.conf

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
sysctl plugin: use utils.execute for commands execution

Changed utils.execute to return more useful tuple (retcode, str) instead of str.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
pickle_provider: consts moved to consts.py

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>