Fixed the pid warning in glance init script