removed pid and pid filename to use shutdown