iSmall update to write local PID file if not allowed in /var/run