The 'D' is now capital to clarify pronunciation.
DBus service name is kept as '/Tuned' not to break
backward compatibility.
This will also need update of downstream tests
which rely on the specific output strings containing
the name.
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
E.g.:
[myprofile]
process=myprocess1
process2=myprocess2.*
The myprofile will be recommended if there are 'myprocess1' and
'myprocess2.*' (e.g. myprocess2, myprocess21, myprocess2_whatever)
running.
Resolves: rhbz#1461838
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
It needs to use unique ',ANYSTRING' suffix, everything after the last ','
will be stripped by the parser, e.g.:
[balanced,1]
/FILE1=RE1
[balanced,2]
/FILE2=RE2
This will set 'balanced' profile in case there is FILE1 matching RE1 or
FILE2 matching RE2 or both. There is no need to use the suffix
if the profile is specified only once.
Also improved description in the recommend.conf.
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Example of recommend.conf content:
[powersave]
/etc/machine.conf=.*laptop.*
This will recommend powersave profile if there is /etc/machine.conf containing
string 'laptop'. The check will not match if the file doesn't exist.
To just check for file existence:
[powersave]
/etc/machine.conf=.*
This will match if there is /etc/machine.conf file.
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>