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>
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>
GPL license does not require all files to have the copyright notice
and header. To save some space, I removed the headers from all files
except the executables and the main Python module.