Added pidfile directory creation to the init script. In Ubuntu the /run directory is mounted to tmpfs, thus the need to create the directory after each reboot