Fixed served rc script with double locked pid file issue when running as root.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>