Added @APACHE_PID_PATH@ and @APACHE_BINARY@ for tok replacement and fixed typo HOSNAME to HOSTNAME.