Specify custom 'checkRunning' and 'stop' commands in yaml.