# Functions
CheckIfAlreadyRunning check for pid file (location is given by pidFilePath parameter) file existence.
DeletePidFile delete pid file if exists.
DumpProcessPidToFile get program pid and save it to pidFilePath file.
Init take into parameter pid file path and update associated process package variable.
TerminateRunningInstance check if the pid stored in the pid file is running and, if yes, terminate it.